From bf5c259d92285a4772fcfb0224da7e15f5b47ed0 Mon Sep 17 00:00:00 2001 From: wilmardo Date: Tue, 23 Oct 2018 12:12:54 +0200 Subject: [PATCH] Empties /tmp in web Dockerfile --- installer/roles/image_build/templates/Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/roles/image_build/templates/Dockerfile.j2 b/installer/roles/image_build/templates/Dockerfile.j2 index 0236194d53..dca95c86c0 100644 --- a/installer/roles/image_build/templates/Dockerfile.j2 +++ b/installer/roles/image_build/templates/Dockerfile.j2 @@ -45,6 +45,7 @@ RUN chmod -R g+w /var/log/tower RUN mkdir -p /etc/tower COPY {{ awx_sdist_file }} /tmp/{{ awx_sdist_file }} RUN OFFICIAL=yes pip install /tmp/{{ awx_sdist_file }} +RUN rm -rf /tmp/* RUN echo "{{ awx_version }}" > /var/lib/awx/.tower_version ADD nginx.conf /etc/nginx/nginx.conf