Skip to content

Commit 0536777

Browse files
committed
opendkim: run as root
1 parent 2c81b34 commit 0536777

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

opendkim/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ ARG POSTFIX_GID=4005
44
ARG OPENDKIM_UID=4008
55
ARG OPENDKIM_GID=4008
66

7-
RUN apt-get update && apt-get install -y opendkim openssl
7+
RUN apt-get update && apt-get install -y opendkim openssl rsyslogd
88
RUN groupmod -g ${OPENDKIM_GID} opendkim && \
99
usermod -u ${OPENDKIM_UID} -g ${OPENDKIM_GID} opendkim
1010
RUN groupadd -g ${POSTFIX_GID} postfix && gpasswd -a opendkim postfix
1111

12-
USER opendkim
13-
1412
ENTRYPOINT ["/usr/sbin/opendkim"]
1513
CMD ["-f", "-x", "/etc/opendkim/opendkim.conf"]

0 commit comments

Comments
 (0)