From da0fe48b16998a9b90d5e9e70e6acc437c515931 Mon Sep 17 00:00:00 2001 From: Matias Garcia Isaia Date: Wed, 6 Mar 2024 16:59:33 -0300 Subject: [PATCH] Build mapcache, mapserver & tools images too --- build.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index b652acf7..e794dd55 100755 --- a/build.sh +++ b/build.sh @@ -7,7 +7,12 @@ dockerSetup echo $VERSION > VERSION echo $VERSION > resources/planwise/version +if [[ -z "$DOCKER_TAG" ]]; then + echo "Not building because DOCKER_TAG is undefined" + return +fi + dockerBuildAndPush -# FIXME: build & push mapcache -# FIXME: build & push mapserver -# FIXME: build & push tools +dockerBuildAndPush -d mapserver -s "-mapserver" -t "-mapserver" -o "-f Dockerfile.mapserver" +dockerBuildAndPush -d mapserver -s "-mapserver" -t "-mapcache" -o "-f Dockerfile.mapcache" +dockerBuildAndPush -d scripts -s "-tools"