Change in docker-playground[master]: debian-stretch-titan: do not install unneeded dependencies

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Jun 5 15:20:45 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/18693 )


Change subject: debian-stretch-titan: do not install unneeded dependencies
......................................................................

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
---
M debian-stretch-titan/Dockerfile
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/93/18693/1

diff --git a/debian-stretch-titan/Dockerfile b/debian-stretch-titan/Dockerfile
index 0778db6..15e4492 100644
--- a/debian-stretch-titan/Dockerfile
+++ b/debian-stretch-titan/Dockerfile
@@ -14,8 +14,9 @@
 	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 && \

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/18693
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I56f0d0f37e212b15e8c19ddea96d1c999177eb17
Gerrit-Change-Number: 18693
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200605/f8449670/attachment.htm>


More information about the gerrit-log mailing list