1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-24 22:55:36 +00:00

add all ci relevant tools to the build helper (#290)

also push the build helper into the docker hub

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels
2019-11-21 08:37:01 +01:00
committed by GitHub
parent ead0acfdb0
commit 3165430f72
5 changed files with 50 additions and 16 deletions
+3 -2
View File
@@ -5,11 +5,12 @@ fi
cd "$(dirname "$0")" || exit
docker build .
docker pull zokradonh/kopano_build:latest || true
docker build --cache-from zokradonh/kopano_build:latest .
docker run \
--rm -it \
-u "$(id -u)":"$(id -g)" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$(pwd)"/..:/kopano-docker/ \
"$(docker build -q .)" "$@"
"$(docker build --cache-from zokradonh/kopano_build:latest -q .)" "$@"