Skip to content

Commit a4b4403

Browse files
committed
Remove code associated with installation dependencies
This is unnecessary now that we use a multi-stage build.
1 parent 44dc773 commit a4b4403

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ RUN groupadd --system --gid ${CISA_GID} ${CISA_GROUP} \
8080

8181
###
8282
# Install everything we need
83-
#
84-
# Install dependencies are only needed for software installation and
85-
# will be removed at the end of the build process.
8683
###
8784
ENV DEPS="build-essential \
8885
cmake \
@@ -128,12 +125,10 @@ ENV DEPS="build-essential \
128125
texlive-science \
129126
fontconfig \
130127
redis-tools"
131-
# ENV INSTALL_DEPS \
132-
# git
133128
RUN apt update --quiet --quiet \
134129
&& apt install --quiet --quiet --yes \
135130
--no-install-recommends --no-install-suggests \
136-
$DEPS $INSTALL_DEPS
131+
$DEPS
137132

138133
# Setup texlive latex stuff.
139134
RUN tlmgr init-usertree
@@ -151,11 +146,6 @@ COPY --from=compile-stage --chown=${CISA_USER}:${CISA_GROUP} ${VIRTUAL_ENV} ${VI
151146
RUN ln -fs "$(command -v python3)" "${VIRTUAL_ENV}"/bin/python3
152147
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
153148

154-
###
155-
# Remove install dependencies
156-
###
157-
# RUN apt remove --quiet --quiet $INSTALL_DEPS
158-
159149
###
160150
# Clean up aptitude cruft
161151
###

0 commit comments

Comments
 (0)