more docker changes

This commit is contained in:
sadnub 2020-11-17 23:39:03 -05:00
parent 759b05e137
commit 7592c11e99
2 changed files with 5 additions and 6 deletions

View File

@ -6,9 +6,9 @@ TRMM_USER=tactical
TRMM_PASS=tactical
# dns settings
APP_HOST=app.simplermm.com
API_HOST=api.simplermm.com
MESH_HOST=mesh.simplermm.com
APP_HOST=app.example.com
API_HOST=api.example.com
MESH_HOST=mesh.example.com
# mesh settings
MESH_USER=meshcentral

View File

@ -5,12 +5,11 @@
set -o errexit
set -o pipefail
# tactical-frontend tactical-nginx tactical-salt --no-cache
DOCKER_IMAGES="tactical"
DOCKER_IMAGES="tactical tactical-meshcentral tactical-frontend tactical-nginx tactical-salt"
cd ..
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
echo "Building Tactical Image: ${DOCKER_IMAGE}..."
docker build --pull --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t "${DOCKER_IMAGE}" -f "docker/containers/${DOCKER_IMAGE}/dockerfile" .
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