From 1e3989ad3fbb940539835b2d9fe0836053614162 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Fraga Ribeiro Date: Thu, 26 Mar 2020 14:42:41 -0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c29d4f4..151d72b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -143,6 +143,13 @@ RUN cd /var/db/assp/assp.mod/install && \ ADD assp.cfg /var/db/assp/ + +RUN apt-get -y clean && \ + rm -rf $HOME/.cpan && \ + rm -rf /tmp/assp.mod.zip && \ + rm -rf /tmp/ASSP_*_install.zip + + RUN chown -R nobody:nogroup /var/db/assp VOLUME [ "/var/db/assp" ] @@ -151,8 +158,3 @@ EXPOSE 25/tcp 2525/tcp 465/tcp 587/tcp 55555/tcp CMD [ "perl", "/var/db/assp/assp.pl", "/var/db/assp" ] -RUN apt-get -y clean && \ - rm -rf $HOME/.cpan && \ - rm -rf /tmp/assp.mod.zip && \ - rm -rf /tmp/ASSP_*_install.zip -