added webapp image

This commit is contained in:
andreas
2023-02-15 21:12:00 +00:00
parent bf973bc94d
commit 49f6dcc3fb
3 changed files with 34 additions and 20 deletions

View File

@@ -1,17 +1,16 @@
# syntax=docker/dockerfile:1.4
FROM ubuntu:20.04
# install apt packages
RUN <<EOF
export DEBIAN_FRONTEND=noninteractive
export TZ=Europe/Berlin
apt-get update
apt-get install -y tzdata wget gnupg
EOF
RUN <<EOF
# install php7-mapi
# 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
for F in core-11.0.2.50.507cbae-Ubuntu_20.04-amd64/*.deb; do dpkg --unpack --no-triggers $F; done
# apt-get install -f -y
# install z-push
wget -qO - https://download.kopano.io/zhub/z-push:/final/Ubuntu_20.04/Release.key | apt-key add -
echo "deb https://download.kopano.io/zhub/z-push:/final/Ubuntu_20.04/ /" >/etc/apt/sources.list.d/z-push.list