| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 | FROM debian:buster-slimLABEL maintainer "Andre Peters <andre.peters@servercow.de>"ARG DEBIAN_FRONTEND=noninteractiveENV LC_ALL CRUN dpkg-divert --local --rename --add /sbin/initctl \	&& ln -sf /bin/true /sbin/initctl \	&& dpkg-divert --local --rename --add /usr/bin/ischroot \	&& ln -sf /bin/true /usr/bin/ischroot# Add groups and users before installing Postfix to not break compatibilityRUN groupadd -g 102 postfix \  && groupadd -g 103 postdrop \  && useradd -g postfix -u 101 -d /var/spool/postfix -s /usr/sbin/nologin postfix \  && apt-get update && apt-get install -y --no-install-recommends \	ca-certificates \	curl \	dirmngr \	gnupg \	libsasl2-modules \  mariadb-client \	perl \	postfix \	postfix-mysql \	postfix-pcre \	sasl2-bin \	sudo \	supervisor \	syslog-ng \	syslog-ng-core \	syslog-ng-mod-redis \  tzdata \	&& rm -rf /var/lib/apt/lists/* \	&& touch /etc/default/locale \  && printf '#!/bin/bash\n/usr/sbin/postconf -c /opt/postfix/conf "$@"' > /usr/local/sbin/postconf \  && chmod +x /usr/local/sbin/postconfCOPY supervisord.conf /etc/supervisor/supervisord.confCOPY syslog-ng.conf /etc/syslog-ng/syslog-ng.confCOPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.shCOPY postfix.sh /opt/postfix.shCOPY rspamd-pipe-ham /usr/local/bin/rspamd-pipe-hamCOPY rspamd-pipe-spam /usr/local/bin/rspamd-pipe-spamCOPY whitelist_forwardinghosts.sh /usr/local/bin/whitelist_forwardinghosts.shCOPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.shRUN chmod +x /opt/postfix.sh \  /usr/local/bin/rspamd-pipe-ham \  /usr/local/bin/rspamd-pipe-spam \  /usr/local/bin/whitelist_forwardinghosts.sh \  /usr/local/sbin/stop-supervisor.shEXPOSE 588CMD exec /usr/bin/supervisord -c /etc/supervisor/supervisord.confRUN rm -rf /tmp/* /var/tmp/*
 |