Empties /tmp in web Dockerfile

This commit is contained in:
wilmardo 2018-10-23 12:12:54 +02:00 committed by Shane McDonald
parent 9bca937fad
commit bf5c259d92

View File

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