Skip to content

Commit 64473ab

Browse files
authored
Add arch and _devel to container name (#116)
* Add arch to container name * Leave amd without suffix for backwards compatibility * Add '_devel-$TARGETARCH' to BIOCONDUCTOR_NAME
1 parent fc81a5c commit 64473ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,16 @@ ARG BIOCONDUCTOR_DOCKER_VERSION=${BIOCONDUCTOR_VERSION}.${BIOCONDUCTOR_PATCH}
6868
# Set automatically when building with --platform
6969
ARG TARGETPLATFORM
7070
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
71+
ARG TARGETARCH
72+
ENV TARGETARCH=${TARGETARCH:-amd64}
7173

7274
## Set env variables
7375
ENV PLATFORM=${TARGETPLATFORM}
7476
ENV LIBSBML_CFLAGS="-I/usr/include"
7577
ENV LIBSBML_LIBS="-lsbml"
7678
ENV BIOCONDUCTOR_DOCKER_VERSION=$BIOCONDUCTOR_DOCKER_VERSION
7779
ENV BIOCONDUCTOR_VERSION=$BIOCONDUCTOR_VERSION
78-
ENV BIOCONDUCTOR_NAME="bioconductor_docker"
80+
ENV BIOCONDUCTOR_NAME="bioconductor_docker_devel-$TARGETARCH"
7981

8082
# Init command for s6-overlay
8183
CMD ["/init"]

0 commit comments

Comments
 (0)