GUACAMOLE-1005: Cleanup apt cache after package installation

This commit is contained in:
Giacomo Longo
2021-06-12 12:11:29 +02:00
parent 4ebfe541a0
commit 65074cb1e4

View File

@@ -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