File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ USER root
16
16
# Install all OS dependencies for notebook server that starts but lacks all
17
17
# features (e.g., download as all possible file formats)
18
18
ENV DEBIAN_FRONTEND noninteractive
19
- RUN apt-get update && apt-get -yq dist-upgrade \
19
+ RUN apt-get update \
20
20
&& apt-get install -yq --no-install-recommends \
21
21
wget \
22
22
bzip2 \
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
25
25
locales \
26
26
fonts-liberation \
27
27
run-one \
28
- && rm -rf /var/lib/apt/lists/*
28
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
29
29
30
30
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
31
31
locale-gen
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ USER root
11
11
# Install all OS dependencies for notebook server that starts but lacks all
12
12
# features (e.g., download as all possible file formats)
13
13
ENV DEBIAN_FRONTEND noninteractive
14
- RUN apt-get update && apt-get -yq dist-upgrade \
14
+ RUN apt-get update \
15
15
&& apt-get install -yq --no-install-recommends \
16
16
build-essential \
17
17
bzip2 \
@@ -21,8 +21,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
21
21
locales \
22
22
sudo \
23
23
wget \
24
- && \
25
- rm -rf /var/lib/apt/lists/*
24
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
26
25
27
26
RUN echo "LANGUAGE=en_US.UTF-8" >> /etc/default/locale
28
27
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/default/locale
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
30
30
tzdata \
31
31
unzip \
32
32
nano \
33
- && rm -rf /var/lib/apt/lists/*
33
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
34
34
35
35
# Switch back to jovyan to avoid accidental container runs as root
36
36
USER $NB_UID
You can’t perform that action at this time.
0 commit comments