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:
Bojan Čekrlić 2019-02-19 12:08:13 +01:00
parent 38d7627d96
commit a1cffc6b23
2 changed files with 7 additions and 3 deletions

View file

@ -26,8 +26,12 @@ ENV MESSAGE_SIZE_LIMIT=
ENV INBOUND_DEBUGGING= ENV INBOUND_DEBUGGING=
# Install supervisor, postfix # Install supervisor, postfix
# Install postfix first to get the first account (101)
# Install opendkim second to get the second account (102)
RUN true && \ 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 && \ apk add --no-cache --upgrade musl musl-utils && \
(rm "/tmp/"* 2>/dev/null || true) && (rm -rf /var/cache/apk/* 2>/dev/null || true) (rm "/tmp/"* 2>/dev/null || true) && (rm -rf /var/cache/apk/* 2>/dev/null || true)

View file

@ -29,8 +29,8 @@ command = /opendkim.sh
user = opendkim user = opendkim
autostart = true autostart = true
autorestart = true autorestart = true
startsecs = 2 startsecs = 5
stopwaitsecs = 2 stopwaitsecs = 5
stdout_logfile = /dev/stdout stdout_logfile = /dev/stdout
stderr_logfile = /dev/stderr stderr_logfile = /dev/stderr
stdout_logfile_maxbytes = 0 stdout_logfile_maxbytes = 0