15 lines
449 B
Bash
15 lines
449 B
Bash
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# build docker-compose images
|
||
|
|
||
|
set -o errexit
|
||
|
set -o pipefail
|
||
|
# tactical-nginx tactical-meshcentral tactical-salt tactical-frontend
|
||
|
DOCKER_IMAGES="tactical"
|
||
|
|
||
|
cd ..
|
||
|
|
||
|
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
|
||
|
echo "Building Tactical image ${DOCKER_IMAGE}..."
|
||
|
docker build --pull --no-cache --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t "${DOCKER_IMAGE}" -f "docker/containers/${DOCKER_IMAGE}/dockerfile" .
|
||
|
done
|