Skip to content

Commit

Permalink
Install wget during build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Feb 10, 2025
1 parent 7487ff0 commit bfb6dfb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ ARG DEPENDENCIES="\
zip \
"

ARG BUILD_DEPENDENCIES="\
wget \
"

ARG PRODUCTION_DEPENDENCIES="\
curl \
graphviz \
Expand Down Expand Up @@ -59,6 +63,7 @@ ARG DEV_IMAGE=false
FROM $FROM_IMAGE:$TEXLIVE_TAG as build

ARG DEPENDENCIES
ARG BUILD_DEPENDENCIES
ARG PRODUCTION_DEPENDENCIES
ARG TEXLIVE_DEPENDENCIES

Expand All @@ -84,7 +89,7 @@ set -o xtrace

# Install OS dependencies
apt-get -qy update
apt-get -qy install --no-install-recommends ${DEPENDENCIES}
apt-get -qy install --no-install-recommends ${DEPENDENCIES} ${BUILD_DEPENDENCIES}
if [ ${DEV_IMAGE} = false ] && echo ${TEXLIVE_TAG} | { ! grep -q latest-minimal; }
then
apt-get -qy install --no-install-recommends ${PRODUCTION_DEPENDENCIES}
Expand Down

0 comments on commit bfb6dfb

Please sign in to comment.