aboutsummaryrefslogtreecommitdiff
path: root/tools/build-docker-image
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build-docker-image')
-rwxr-xr-xtools/build-docker-image7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/build-docker-image b/tools/build-docker-image
index 7ab382333..f7c7995e1 100755
--- a/tools/build-docker-image
+++ b/tools/build-docker-image
@@ -1,13 +1,10 @@
#!/bin/bash
-if [[ $EUID -eq 0 ]]; then
- echo "This script must not be run as root. Instead add yourself to the docker group." 1>&2
- exit 1
-fi
-
TOPDIR=$(git rev-parse --show-toplevel)
IMGDIR="$(cd "$(dirname "$0")" && pwd)"
+. $TOPDIR/tools/validate-docker-execute
+
RELEASE_NAMESPACE=kollaglue
NAMESPACE=kollaglue
PREFIX=centos-rdo-