mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
should fix build inconsistencies for razor
This commit is contained in:
parent
e40c2593cc
commit
a0056b1a88
|
@ -161,7 +161,10 @@ RUN \
|
|||
echo "0 4 * * * /usr/local/bin/virus-wiper" | crontab - && \
|
||||
chmod 644 /etc/amavis/conf.d/*
|
||||
|
||||
RUN su - amavis -c "razor-admin -create && sleep 3 && razor-admin -register"
|
||||
# overcomplication necessary for CI
|
||||
RUN for _ in {1..10}; do su - amavis -c "razor-admin -create" ; sleep 3 ; \
|
||||
if su - amavis -c "razor-admin -register" &>/dev/null; then { EC=0 ; break ; } ; \
|
||||
else EC=${?} ; fi ; done ; (exit ${EC})
|
||||
|
||||
# –––––––––––––––––––––––––––––––––––––––––––––––
|
||||
# ––– Fail2Ban, DKIM & DMARC ––––––––––––––––––––
|
||||
|
|
Loading…
Reference in a new issue