From 65074cb1e46e905373a449df71caa1ca6657ee39 Mon Sep 17 00:00:00 2001 From: Giacomo Longo Date: Sat, 12 Jun 2021 12:11:29 +0200 Subject: [PATCH] GUACAMOLE-1005: Cleanup apt cache after package installation --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 781e55c2f..5af326bb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,9 @@ RUN /opt/guacamole/bin/build-guacamole.sh "$BUILD_DIR" /opt/guacamole "$BUILD_PR FROM tomcat:${TOMCAT_VERSION}-${TOMCAT_JRE} # Install XMLStarlet for server.xml alterations -RUN apt-get update -qq && apt-get install -y xmlstarlet +RUN apt-get update -qq \ + && apt-get install -y xmlstarlet \ + && rm -rf /var/lib/apt/lists/* # This is where the build artifacts go in the runtime image WORKDIR /opt/guacamole