File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
helm-chart/images/binderhub Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ ARG DIST
1313# Install node as required to package binderhub to a wheel
1414RUN echo "deb http://deb.nodesource.com/node_14.x $DIST main" > /etc/apt/sources.list.d/nodesource.list \
1515 && curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
16- RUN apt-get update && \
17- apt-get install --yes \
18- nodejs
16+ RUN apt-get update \
17+ && apt-get install --yes \
18+ nodejs \
19+ && rm -rf /var/lib/apt/lists/*
1920
2021# Copy the whole git repository to /tmp/binderhub
2122COPY . /tmp/binderhub
@@ -33,9 +34,11 @@ FROM python:3.8-slim-$DIST
3334WORKDIR /
3435
3536# The slim version doesn't include git as required by binderhub
36- RUN apt-get update && \
37- apt-get install --yes \
38- git
37+ RUN apt-get update \
38+ && apt-get install --yes \
39+ git \
40+ && rm -rf /var/lib/apt/lists/*
41+
3942
4043# Copy the built wheels from the build-stage. Also copy the image
4144# requirements.txt built from the binderhub package requirements.txt and the
You can’t perform that action at this time.
0 commit comments