fixed postfix configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user