added z-push image

This commit is contained in:
andreas
2023-02-14 21:54:12 +00:00
parent 31f0a7f579
commit b8721a79cd
6 changed files with 67 additions and 8 deletions

26
z-push/build.sh Normal file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/bash
# export DOCKER_BUILDKIT=1
docker run -d --rm --name www -p80:80 -v/root/kopano-docker/dist:/usr/local/apache2/htdocs httpd
docker build --no-cache --progress=plain -t z-push .
docker run --rm -it --name z-push \
-e "MAIL_DOMAIN=ads65.de" \
-e "APACHE_RUN_DIR=/var/www" \
-e "APACHE_RUN_USER=www-data" \
-e "APACHE_RUN_GROUP=www-data" \
-e "APACHE_LOG_DIR=/var/log" \
-e "APACHE_PID_FILE=/var/run/apache2/apache2.pid" \
z-push
docker logs -f z-push
docker exec -it z-push bash
docker kill z-push
docker rm z-push
docker container ls
docker container prune
docker image ls
docker image prune -a -f
# docker login --username baloan --password 'yZBCUs5&@?:.'
# docker tag -t z-push:latest ...
# docker push