Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Eduardo Fraga Ribeiro authored Mar 26, 2020
1 parent 9a58a63 commit 1e3989a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand All @@ -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

0 comments on commit 1e3989a

Please sign in to comment.