Added amavid config to Dockerfile, tests run locally
This commit is contained in:
parent
ec8a979351
commit
39e2fe9394
|
@ -85,6 +85,7 @@ RUN mkdir /var/run/postgrey
|
||||||
RUN chown postgrey:postgrey /var/run/postgrey
|
RUN chown postgrey:postgrey /var/run/postgrey
|
||||||
|
|
||||||
# Enables Amavis
|
# Enables Amavis
|
||||||
|
COPY target/amavis /etc/amavis
|
||||||
RUN adduser clamav amavis && adduser amavis clamav
|
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 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 -
|
RUN (echo "0 4 * * * /usr/local/bin/virus-wiper" ; crontab -l) | crontab -
|
||||||
|
|
Loading…
Reference in New Issue