Skip to content

Commit

Permalink
Fix Dockerfile ARG bug
Browse files Browse the repository at this point in the history
ARG is empty if not renewed for each stage
  • Loading branch information
alexpovel committed Oct 15, 2021
1 parent f10005e commit 548dca9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/image/Dockerfile
Expand Up @@ -119,6 +119,9 @@ FROM base as downloads
# This also happens when the *value* contains 'TEX'.
# `ARG`s are only set during Docker image build-time, so this warning should be void.

# Renew (https://stackoverflow.com/a/53682110):
ARG TL_VERSION

ARG TL_INSTALL_ARCHIVE="install-tl-unx.tar.gz"
ARG EISVOGEL_ARCHIVE="Eisvogel.tar.gz"
ARG INSTALL_TL_DIR="install-tl"
Expand Down Expand Up @@ -146,6 +149,9 @@ RUN \

FROM base as main

# Renew (https://stackoverflow.com/a/53682110):
ARG TL_VERSION

ARG TL_PROFILE="texlive.profile"
# Auxiliary, intermediate file:
ARG TMP_TL_PROFILE="${TL_PROFILE}.tmp"
Expand Down

0 comments on commit 548dca9

Please sign in to comment.