gitlab-ci: Remove unused Debian packages from Docker image
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 3 Apr 2019 13:48:51 +0000 (15:48 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 16 Apr 2019 08:41:07 +0000 (10:41 +0200)
v2:
* Also remove autotools, now that the Mesa autotools build system has
  been dropped.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> # v1
.gitlab-ci/debian-install.sh

index bd8348d9b729a3b315d2235450b06a5540bcd52a..d2e1f1e687d99558194e77e88eeb47adba85c9c3 100644 (file)
@@ -150,3 +150,14 @@ apt-get install -y ccache
 
 # We need xmllint to validate the XML files in Mesa
 apt-get install -y libxml2-utils
+
+# Remove unused packages
+apt-get purge -y \
+      automake \
+      libtool \
+      make \
+      curl \
+      wget \
+      gnupg \
+      software-properties-common
+apt-get autoremove -y --purge