Skip to content

Commit 1ec6348

Browse files
committed
opendkim run as user
1 parent b1b27e5 commit 1ec6348

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opendkim/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ 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+
1214
ENTRYPOINT ["/usr/sbin/opendkim"]
1315
CMD ["-f", "-x", "/etc/opendkim/opendkim.conf"]

0 commit comments

Comments
 (0)