22 lines
545 B
Bash
22 lines
545 B
Bash
#!/bin/bash
|
|
|
|
if [ "${DEBUGGING}" = "true" ]; then
|
|
set -o xtrace
|
|
else
|
|
DEBUGGING="false"
|
|
fi
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
echo "[testBuild][INFO]build"
|
|
|
|
docker rmi "jusito/docker-ttt:lgsm_debian" || true
|
|
docker build -f lgsm/Dockerfile -t "jusito/docker-ttt:lgsm_debian" "."
|
|
|
|
docker rmi "jusito/docker-ttt:gmod_debian" || true
|
|
docker build -f gmod/Dockerfile -t "jusito/docker-ttt:gmod_debian" "."
|
|
|
|
docker rmi "jusito/docker-ttt:gmod_ttt_debian" || true
|
|
docker build -f TTT/Dockerfile -t "jusito/docker-ttt:gmod_ttt_debian" "." |