Skip to content

Commit 33027ed

Browse files
authored
Define BIOCONDUCTOR_DOCKER_VERSION earlier
1 parent 64473ab commit 33027ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ARG BIOCONDUCTOR_VERSION=3.23
2121
##### IMPORTANT ########
2222
## The PATCH version number should be incremented each time
2323
## there is a change in the Dockerfile.
24-
ARG BIOCONDUCTOR_PATCH=0
24+
ARG BIOCONDUCTOR_PATCH=1
2525

2626
ARG BIOCONDUCTOR_DOCKER_VERSION=${BIOCONDUCTOR_VERSION}.${BIOCONDUCTOR_PATCH}
2727

@@ -52,6 +52,11 @@ ENV TARGETARCH=${TARGETARCH:-amd64}
5252
FROM base-$TARGETARCH AS final
5353
COPY --from=base / /
5454

55+
# Reset args in last layer
56+
ARG BIOCONDUCTOR_VERSION=3.23
57+
ARG BIOCONDUCTOR_PATCH=1
58+
ARG BIOCONDUCTOR_DOCKER_VERSION=${BIOCONDUCTOR_VERSION}.${BIOCONDUCTOR_PATCH}
59+
5560
LABEL name="bioconductor/bioconductor_docker" \
5661
version=$BIOCONDUCTOR_DOCKER_VERSION \
5762
url="https://github.com/Bioconductor/bioconductor_docker" \
@@ -60,11 +65,6 @@ LABEL name="bioconductor/bioconductor_docker" \
6065
description="Bioconductor docker image with system dependencies to install all packages." \
6166
license="Artistic-2.0"
6267

63-
# Reset args in last layer
64-
ARG BIOCONDUCTOR_VERSION=3.23
65-
ARG BIOCONDUCTOR_PATCH=0
66-
ARG BIOCONDUCTOR_DOCKER_VERSION=${BIOCONDUCTOR_VERSION}.${BIOCONDUCTOR_PATCH}
67-
6868
# Set automatically when building with --platform
6969
ARG TARGETPLATFORM
7070
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}

0 commit comments

Comments
 (0)