mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
postfix: Use recommended method for service start
This commit updates Postfix to the latest version available for Debian Bullseye, and switches the Docker entrypoint from an internal to a publicly documented command, which is guaranteed to work in the future.
This commit is contained in:
parent
38a7ae1587
commit
de1627f4a6
@ -1,5 +1,5 @@
|
||||
FROM docker.io/debian:bullseye-slim
|
||||
ARG VERSION=3.5.6
|
||||
ARG VERSION=3.5.13
|
||||
|
||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||
postfix=${VERSION}* postfix-mysql=${VERSION}* syslog-ng-core gettext ca-certificates
|
||||
|
@ -13,4 +13,4 @@ postalias /etc/postfix/aliases
|
||||
postfix set-permissions
|
||||
|
||||
# Run master daemon for Postfix.
|
||||
/usr/lib/postfix/sbin/master -c /etc/postfix -d
|
||||
/usr/sbin/postfix -c /etc/postfix start-fg
|
||||
|
Loading…
Reference in New Issue
Block a user