aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/build.sh b/bin/build.sh
index b91cb4c..f9cd530 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -1,5 +1,7 @@
#!/bin/bash
set -e
+TRACE=${TRACE:=0}
+[[ $TRACE -eq 1 ]] && set -x
IMAGE_NAME=docker.gentoo.org/sites/www
IMAGE_TAG=latest
IMAGE=${IMAGE_NAME}:${IMAGE_TAG}