Remove apt-get clean command. Unecessary on official Ubuntu images.

This commit is contained in:
Tim Ryan
2018-12-17 10:40:58 -05:00
parent 14fdfbf9cf
commit 3fc28b67e0
8 changed files with 5 additions and 10 deletions

View File

@@ -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