added z-push image
This commit is contained in:
27
z-push/Dockerfile
Normal file
27
z-push/Dockerfile
Normal file
@@ -0,0 +1,27 @@
|
||||
# syntax=docker/dockerfile:1.4
|
||||
FROM ubuntu:20.04
|
||||
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
|
||||
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
|
||||
apt-get update
|
||||
apt-get install -y z-push-kopano z-push-config-apache z-push-backend-kopano
|
||||
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
|
||||
# use envsubst in entrypoint script to convert config templates to actual config files
|
||||
EXPOSE 80
|
||||
VOLUME /var/lib/z-push
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
Reference in New Issue
Block a user