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
This commit is contained in:
parent
6dd4aba27a
commit
27fb91638d
|
@ -14,7 +14,8 @@ 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 \
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends --no-install-suggests \
|
||||
eclipse-titan
|
||||
|
||||
RUN apt-get update && \
|
||||
|
|
Loading…
Reference in New Issue