From c5e3b79238855784169dee635aeb813b0b881de7 Mon Sep 17 00:00:00 2001 From: Thomas MENARD <thomas.menard@pasteur.fr> Date: Thu, 19 Apr 2018 11:50:52 +0200 Subject: [PATCH] Remove temporary files in /tmp in Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 140d959..5382d35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ ENV MAVEN_HOME /usr/share/maven # Add configuration files, bashrc and other tweaks COPY ./s2i/bin/ $STI_SCRIPTS_PATH +RUN rm -rf /tmp/* RUN chown -R 1001:0 /opt/app-root USER 1001 -- GitLab