diff --git a/builds/debian8.0/Dockerfile b/builds/debian8.0/Dockerfile index fa34df7..90e55be 100644 --- a/builds/debian8.0/Dockerfile +++ b/builds/debian8.0/Dockerfile @@ -22,6 +22,11 @@ ENV PLAYBOOK testlink.ansible.role/setup.yml RUN echo "===> Run playbook ..." && \ ansible-playbook-wrapper +RUN echo "===> Clean ..." && \ + apt-get clean && \ + cd /tmp && \ + rm -rf Dockerfile run.sh testlink.ansible.role testlink.tar.gz + VOLUME [ "/data" ] WORKDIR /srv EXPOSE 80 443 diff --git a/builds/ubuntu16.04/Dockerfile b/builds/ubuntu16.04/Dockerfile index df2b2fb..855024e 100644 --- a/builds/ubuntu16.04/Dockerfile +++ b/builds/ubuntu16.04/Dockerfile @@ -22,6 +22,11 @@ ENV PLAYBOOK testlink.ansible.role/setup.yml RUN echo "===> Run playbook ..." && \ ansible-playbook-wrapper +RUN echo "===> Clean ..." && \ + apt-get clean && \ + cd /tmp && \ + rm -rf Dockerfile run.sh testlink.ansible.role testlink.tar.gz + VOLUME [ "/data" ] WORKDIR /srv EXPOSE 80 443