Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 57f1fa5

Browse files
committed
use ecr public repositories for base images
1 parent a614fed commit 57f1fa5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/containers/bcftools/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM ubuntu:18.04 AS build
1+
FROM public.ecr.aws/lts/ubuntu:18.04 AS build
22

33
ARG VERSION=1.9
44

55
# Metadata
6-
LABEL container.base.image="ubuntu:18.04"
6+
LABEL container.base.image="public.ecr.aws/lts/ubuntu:18.04"
77
LABEL software.name="BCFtools"
88
LABEL software.version=${VERSION}
99
LABEL software.description="Utilities for variant calling and manipulating files in the Variant Call Format (VCF) and its binary counterpart BCF"
@@ -37,7 +37,7 @@ RUN wget -O /bcftools-${VERSION}.tar.bz2 \
3737
WORKDIR /bcftools-${VERSION}
3838
RUN ./configure && make
3939

40-
FROM ubuntu:18.04 AS final
40+
FROM public.ecr.aws/lts/ubuntu:18.04 AS final
4141
COPY --from=build /bcftools-*/bcftools /usr/local/bin
4242

4343
RUN apt-get -y update && \

src/containers/bwa/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04 AS build
1+
FROM public.ecr.aws/lts/ubuntu:18.04 AS build
22

33
ARG BWA_VERSION=0.7.17
44

@@ -19,7 +19,7 @@ RUN wget https://github.com/lh3/bwa/releases/download/v${BWA_VERSION}/bwa-${BWA_
1919
&& cp bwa /opt/src
2020

2121

22-
FROM ubuntu:18.04 AS final
22+
FROM public.ecr.aws/lts/ubuntu:18.04 AS final
2323

2424
RUN apt-get update -y \
2525
&& apt-get install -y \

src/containers/nextflow/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM nextflow/nextflow:${VERSION} AS build
33

44
# The upstream nextflow containers are based on alpine
55
# which are not compatible with the aws cli
6-
FROM amazonlinux:2 AS final
6+
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS final
77
COPY --from=build /usr/local/bin/nextflow /usr/bin/nextflow
88

99
RUN yum update -y \

src/containers/samtools/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04 AS build
1+
FROM public.ecr.aws/lts/ubuntu:18.04 AS build
22

33
ARG VERSION=1.9
44

@@ -37,7 +37,7 @@ RUN wget -O /samtools-${VERSION}.tar.bz2 \
3737
WORKDIR /samtools-${VERSION}
3838
RUN ./configure && make
3939

40-
FROM ubuntu:18.04 AS final
40+
FROM public.ecr.aws/lts/ubuntu:18.04 AS final
4141
COPY --from=build /samtools-*/samtools /usr/local/bin
4242

4343
RUN apt-get -y update && \

0 commit comments

Comments
 (0)