aboutsummaryrefslogtreecommitdiffstats
path: root/sctp-test
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-27 09:53:26 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-27 09:53:26 +0200
commit3c1dc34c9197528c14d341fc0f137ff633e41474 (patch)
treeb632cee6cf2358c060b046f141f7adf33e781fa7 /sctp-test
parent2a9e6aaea5dc018707742348aeca8a8e6bd49e97 (diff)
apt-get: always use --no-install-recommends and apt-get clean
this helps us to avoid installing unneeded packages and removes the package cache from the images to keep them less bloated.
Diffstat (limited to 'sctp-test')
-rw-r--r--sctp-test/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sctp-test/Dockerfile b/sctp-test/Dockerfile
index 5281600..9719953 100644
--- a/sctp-test/Dockerfile
+++ b/sctp-test/Dockerfile
@@ -2,8 +2,11 @@ FROM laforge/debian-jessie-build
MAINTAINER Harald Welte <laforge@gnumonks.org>
-RUN apt-get update && apt-get install -y \
- bison flex
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends \
+ bison \
+ flex && \
+ apt-get clean
COPY *.patch /tmp/