Commit 2343e33d authored by Peter Parente's avatar Peter Parente Committed by GitHub

Merge pull request #777 from tryantwit/remove-apt-get-clean

Remove apt-get clean command. Unecessary on official Ubuntu images.
parents 14fdfbf9 3fc28b67
......@@ -17,7 +17,7 @@ RUN apt-get update && \
fonts-dejavu \
tzdata \
gfortran \
gcc && apt-get clean && \
gcc && \
rm -rf /var/lib/apt/lists/*
USER $NB_UID
......
......@@ -24,7 +24,6 @@ RUN apt-get update && apt-get -yq dist-upgrade \
sudo \
locales \
fonts-liberation \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
......
......@@ -21,7 +21,7 @@ RUN apt-get update && apt-get -yq dist-upgrade \
locales \
sudo \
wget \
&& apt-get clean && \
&& \
rm -rf /var/lib/apt/lists/*
RUN echo "LANGUAGE=en_US.UTF-8" >> /etc/default/locale
......
......@@ -17,7 +17,7 @@ RUN apt-get update && \
fonts-dejavu \
tzdata \
gfortran \
gcc && apt-get clean && \
gcc && \
rm -rf /var/lib/apt/lists/*
# Julia dependencies
......
......@@ -29,8 +29,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
texlive-xetex \
unzip \
nano \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*
# Switch back to jovyan to avoid accidental container runs as root
USER $NB_UID
......@@ -13,7 +13,6 @@ ENV HADOOP_VERSION 2.7
RUN apt-get -y update && \
apt-get install --no-install-recommends -y openjdk-8-jre-headless ca-certificates-java && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN cd /tmp && \
......@@ -34,7 +33,6 @@ RUN apt-get -y update && \
apt-get -y update && \
apt-get --no-install-recommends -y install mesos=1.2\* && \
apt-get purge --auto-remove -y gnupg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Spark and Mesos config
......
......@@ -13,7 +13,7 @@ RUN apt-get update && \
fonts-dejavu \
tzdata \
gfortran \
gcc && apt-get clean && \
gcc && \
rm -rf /var/lib/apt/lists/*
USER $NB_UID
......
......@@ -10,7 +10,6 @@ USER root
# ffmpeg for matplotlib anim
RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
USER $NB_UID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment