Files
tacticalrmm/docker/image-build.sh
2021-01-22 20:04:30 -05:00

13 lines
358 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o pipefail
DOCKER_IMAGES="tactical tactical-frontend tactical-nats tactical-nginx tactical-meshcentral"
cd ..
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
echo "Building Tactical Image: ${DOCKER_IMAGE}..."
docker build --pull --no-cache -t "${DOCKER_IMAGE}" -f "docker/containers/${DOCKER_IMAGE}/dockerfile" .
done