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,11 +1,11 @@
# 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
apt-get update
apt-get install -y --no-install-recommends tzdata wget gnupg apache2
apt-get install -y --no-install-recommends tzdata wget gnupg apache2 ca-certificates
update-ca-certificates
# install php7-mapi and dependencies
wget --no-verbose -P/tmp http://bldr/core-11.0.2.50.507cbae-Ubuntu_20.04-amd64.tar.gz
tar xzf /tmp/core-11.0.2.50.507cbae-Ubuntu_20.04-amd64.tar.gz
@@ -26,7 +26,6 @@ rm -rf core-11.0.2.50.507cbae-Ubuntu_20.04-amd64
EOF
# use envsubst in entrypoint script to convert config templates to actual config files
RUN <<EOF
# phpenmod kopano
sed -i -e's/define("SECURE_COOKIES", true);/define("SECURE_COOKIES", false);/' /etc/kopano/webapp/config.php
EOF
COPY --chmod=0775 entrypoint.sh /entrypoint.sh