From de1627f4a68ba7f03e9e2595491672319750a117 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Mon, 11 Jul 2022 21:22:38 +0100 Subject: [PATCH] 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. --- service/postfix/Containerfile | 2 +- service/postfix/container/run-postfix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/postfix/Containerfile b/service/postfix/Containerfile index 48fd140..07524c9 100644 --- a/service/postfix/Containerfile +++ b/service/postfix/Containerfile @@ -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 diff --git a/service/postfix/container/run-postfix b/service/postfix/container/run-postfix index bd7f15e..9451988 100755 --- a/service/postfix/container/run-postfix +++ b/service/postfix/container/run-postfix @@ -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