Added amavid config to Dockerfile, tests run locally

This commit is contained in:
Thomas VIAL 2017-03-29 15:43:29 +02:00
parent ec8a979351
commit 39e2fe9394
No known key found for this signature in database
GPG Key ID: 0394CEE552FAFEFC
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ RUN mkdir /var/run/postgrey
RUN chown postgrey:postgrey /var/run/postgrey
# Enables Amavis
COPY target/amavis /etc/amavis
RUN adduser clamav amavis && adduser amavis clamav
RUN useradd -u 5000 -d /home/docker -s /bin/bash -p $(echo docker | openssl passwd -1 -stdin) docker
RUN (echo "0 4 * * * /usr/local/bin/virus-wiper" ; crontab -l) | crontab -