added postfix, z-push, dagent

This commit is contained in:
andreas
2023-04-04 20:19:20 +00:00
parent 950fbccf48
commit 109098ae55
9 changed files with 62 additions and 51 deletions

4
z-push/30-z-push.ini Normal file
View File

@@ -0,0 +1,4 @@
magic_quotes_gpc = off
register_globals = off
magic_quotes_runtime = off
short_open_tag = on

View File

@@ -18,6 +18,7 @@ wget -qO - https://download.kopano.io/zhub/z-push:/final/Ubuntu_20.04/Release.ke
echo "deb https://download.kopano.io/zhub/z-push:/final/Ubuntu_20.04/ /" >/etc/apt/sources.list.d/z-push.list
apt-get update
apt-get install -y z-push-kopano z-push-backend-kopano z-push-config-apache z-push-config-apache-autodiscover
apt-get install -y php-mbstring
apt-get install -f -y --no-install-recommends
# cleanup
apt-get autoclean
@@ -25,10 +26,9 @@ 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
# php_flag magic_quotes_gpc = off
# php_flag register_globals = off
# php_flag magic_quotes_runtime = off
# php_flag short_open_tag = on
#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 --chmod=0775 entrypoint.sh /entrypoint.sh
EXPOSE 80