tacticalrmm/docker/image-build.sh

14 lines
437 B
Bash
Raw Permalink Normal View History

2020-11-16 19:28:10 +00:00
#!/usr/bin/env bash
set -o errexit
set -o pipefail
2020-11-17 02:22:28 +00:00
2021-09-06 03:52:33 +00:00
# tactical tactical-frontend tactical-nats tactical-nginx tactical-meshcentral
DOCKER_IMAGES="tactical tactical-frontend tactical-nats tactical-nginx tactical-meshcentral"
2020-11-16 19:28:10 +00:00
cd ..
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
2020-11-17 02:22:28 +00:00
echo "Building Tactical Image: ${DOCKER_IMAGE}..."
2020-11-23 05:15:00 +00:00
docker build --pull --no-cache -t "${DOCKER_IMAGE}" -f "docker/containers/${DOCKER_IMAGE}/dockerfile" .
2020-11-16 19:28:10 +00:00
done