aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-bts-master/Dockerfile
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 /osmo-bts-master/Dockerfile
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 'osmo-bts-master/Dockerfile')
-rw-r--r--osmo-bts-master/Dockerfile18
1 files changed, 10 insertions, 8 deletions
diff --git a/osmo-bts-master/Dockerfile b/osmo-bts-master/Dockerfile
index 19b1a2f..5fed50e 100644
--- a/osmo-bts-master/Dockerfile
+++ b/osmo-bts-master/Dockerfile
@@ -8,14 +8,16 @@ RUN apt-key add /tmp/Release.key && \
rm /tmp/Release.key && \
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
-RUN apt-get update && apt-get install -y \
- telnet \
- libosmocore-dev \
- libosmo-abis-dev \
- libosmo-netif-dev \
- libosmo-sccp-dev \
- libsmpp34-dev \
- libgtp-dev
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends \
+ telnet \
+ libosmocore-dev \
+ libosmo-abis-dev \
+ libosmo-netif-dev \
+ libosmo-sccp-dev \
+ libsmpp34-dev \
+ libgtp-dev &&
+ apt-get clean
WORKDIR /tmp