debian-stretch-titan: do not install unneeded dependencies

By default, Debian's package manager (apt) would install as many
dependencies as possible, including optional (recommended and
suggested) ones.

Package 'eclipse-titan' recommends 'default-jdk', which is
absolutely not needed for osmo-ttcn3-hacks, and in its turn
depends on +100500 more packages like xorg, wayland, etc.

This change significantly reduces total amount of dependencies
and the overall build time by disabling installation of
recommended and suggested dependencies.

Change-Id: I56f0d0f37e212b15e8c19ddea96d1c999177eb17
changes/93/18693/1
Vadim Yanitskiy 3 years ago
parent 6dd4aba27a
commit 27fb91638d
  1. 5
      debian-stretch-titan/Dockerfile

@ -14,8 +14,9 @@ RUN apt-key add /tmp/Release.key && \
echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-latest.list
ADD $OSMOCOM_REPO/Release /tmp/Release
RUN apt-get update && apt-get install -y \
eclipse-titan
RUN apt-get update && \
apt-get install -y --no-install-recommends --no-install-suggests \
eclipse-titan
RUN apt-get update && \
apt-get upgrade -y && \

Loading…
Cancel
Save