mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-02-24 06:33:01 +08:00
More resillient builds
It turns out that builds cannot be predictable - different accounts were assigned by different build systems. Consequentially we install each tool separately.
This commit is contained in:
parent
38d7627d96
commit
a1cffc6b23
2 changed files with 7 additions and 3 deletions
|
@ -26,8 +26,12 @@ ENV MESSAGE_SIZE_LIMIT=
|
|||
ENV INBOUND_DEBUGGING=
|
||||
|
||||
# Install supervisor, postfix
|
||||
# Install postfix first to get the first account (101)
|
||||
# Install opendkim second to get the second account (102)
|
||||
RUN true && \
|
||||
apk add --no-cache --update postfix ca-certificates tzdata supervisor rsyslog opendkim && \
|
||||
apk add --no-cache postfix && \
|
||||
apk add --no-cache opendkim && \
|
||||
apk add --no-cache ca-certificates tzdata supervisor rsyslog && \
|
||||
apk add --no-cache --upgrade musl musl-utils && \
|
||||
(rm "/tmp/"* 2>/dev/null || true) && (rm -rf /var/cache/apk/* 2>/dev/null || true)
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ command = /opendkim.sh
|
|||
user = opendkim
|
||||
autostart = true
|
||||
autorestart = true
|
||||
startsecs = 2
|
||||
stopwaitsecs = 2
|
||||
startsecs = 5
|
||||
stopwaitsecs = 5
|
||||
stdout_logfile = /dev/stdout
|
||||
stderr_logfile = /dev/stderr
|
||||
stdout_logfile_maxbytes = 0
|
||||
|
|
Loading…
Reference in a new issue