You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2018/11/07 22:29:40 UTC
[mesos] 02/08: Saved some disk space in mesos-tidy Docker image.
This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit baadfdbe980181d2ea04eef51db4fcd8be3c9793
Author: Benjamin Bannier <be...@mesosphere.io>
AuthorDate: Wed Nov 7 22:39:09 2018 +0100
Saved some disk space in mesos-tidy Docker image.
Review: https://reviews.apache.org/r/69242/
---
support/mesos-tidy/Dockerfile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/support/mesos-tidy/Dockerfile b/support/mesos-tidy/Dockerfile
index 2885beb..e25dd70 100644
--- a/support/mesos-tidy/Dockerfile
+++ b/support/mesos-tidy/Dockerfile
@@ -27,7 +27,8 @@ RUN apt-get update && \
curl \
git \
python-dev && \
- apt-get clean
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
# Mesos requires at least cmake-3.7.0 on Linux and cmake-3.8.0 on Windows.
#
@@ -66,14 +67,16 @@ RUN apt-get update && \
libsvn-dev \
libtool \
zlib1g-dev && \
- apt-get clean
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
# Install `jq` and `parallel` for `clang-tidy` invocation.
RUN apt-get update && \
apt-get install -qy \
jq \
parallel && \
- apt-get clean
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
# Wire up the script which performs the actual work.
WORKDIR /BUILD