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:
+3
-2
@@ -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 .)" "$@"
|
||||
|
||||
Reference in New Issue
Block a user