fixed postfix configuration

This commit is contained in:
andreas
2023-04-07 15:45:32 +00:00
parent 1bdf801fac
commit d5f5750911
34 changed files with 1024 additions and 605 deletions

View File

@@ -1,6 +1,5 @@
# syntax=docker/dockerfile:1.4
# syntax=docker.io/docker/dockerfile:1.5.2
FROM ubuntu:20.04
# install apt packages
RUN <<EOF
export DEBIAN_FRONTEND=noninteractive
export TZ=Europe/Berlin
@@ -25,11 +24,8 @@ apt-get autoclean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm
rm -rf core-11.0.2.50.507cbae-Ubuntu_20.04-amd64
EOF
# change php.ini
#sed -i -e 's/short_open_tag = Off/short_open_tag = on/' /etc/php/7.4/apache2/php.ini
#sed -i -e '/register_argc_argv =/a register_globals = off' /etc/php/7.4/apache2/php.ini
COPY 30-z-push.ini /etc/php/7.4/apache2/conf.d
# use envsubst in entrypoint script to convert config templates to actual config files
COPY 30-z-push.ini /etc/php/7.4/apache2/conf.d
COPY --chmod=0775 entrypoint.sh /entrypoint.sh
EXPOSE 80
VOLUME /etc/z-push