Skip to content

Commit fe64133

Browse files
authored
Merge pull request #940 from ilveroluca/dont_upgrade
Don't upgrade base image
2 parents 0826489 + 65d8260 commit fe64133

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

base-notebook/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ USER root
1616
# Install all OS dependencies for notebook server that starts but lacks all
1717
# features (e.g., download as all possible file formats)
1818
ENV DEBIAN_FRONTEND noninteractive
19-
RUN apt-get update && apt-get -yq dist-upgrade \
19+
RUN apt-get update \
2020
&& apt-get install -yq --no-install-recommends \
2121
wget \
2222
bzip2 \
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
2525
locales \
2626
fonts-liberation \
2727
run-one \
28-
&& rm -rf /var/lib/apt/lists/*
28+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
2929

3030
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
3131
locale-gen

base-notebook/Dockerfile.ppc64le

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ USER root
1111
# Install all OS dependencies for notebook server that starts but lacks all
1212
# features (e.g., download as all possible file formats)
1313
ENV DEBIAN_FRONTEND noninteractive
14-
RUN apt-get update && apt-get -yq dist-upgrade \
14+
RUN apt-get update \
1515
&& apt-get install -yq --no-install-recommends \
1616
build-essential \
1717
bzip2 \
@@ -21,8 +21,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
2121
locales \
2222
sudo \
2323
wget \
24-
&& \
25-
rm -rf /var/lib/apt/lists/*
24+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
2625

2726
RUN echo "LANGUAGE=en_US.UTF-8" >> /etc/default/locale
2827
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/default/locale

minimal-notebook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
3030
tzdata \
3131
unzip \
3232
nano \
33-
&& rm -rf /var/lib/apt/lists/*
33+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
3434

3535
# Switch back to jovyan to avoid accidental container runs as root
3636
USER $NB_UID

0 commit comments

Comments
 (0)