about summary refs log tree commit diff
path: root/third_party/apereo-cas/overlay/docker-build.sh
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-07-05T13·05+0000
committerLuke Granger-Brown <git@lukegb.com>2020-07-05T19·17+0000
commitc22796eb2a4c9e9f04dcc098c7705a6ddfce81a5 (patch)
treefe8095e71f5cda8cdfd6c95e32a309dab88ffdc2 /third_party/apereo-cas/overlay/docker-build.sh
parentf54a48f831dcbc0ff6c1879a4d27085a38eddccc (diff)
parent2e185f50c38db1a85f39a6bd5ad4c4e58462f003 (diff)
merge(3p/apereo-cas-overlay): Merge commit '2e185f50c38db1a85f39a6bd5ad4c4e58462f003' as 'third_party/apereo-cas/overlay'
Change-Id: Ic3590a8da009199100f6dd9f8c9c41196b5ea9ff
Diffstat (limited to 'third_party/apereo-cas/overlay/docker-build.sh')
-rwxr-xr-xthird_party/apereo-cas/overlay/docker-build.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/apereo-cas/overlay/docker-build.sh b/third_party/apereo-cas/overlay/docker-build.sh
new file mode 100755
index 000000000000..dc098ade96d6
--- /dev/null
+++ b/third_party/apereo-cas/overlay/docker-build.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+image_tag=(`cat gradle.properties | grep "cas.version" | cut -d= -f2`)
+
+echo "Building CAS docker image tagged as [v$image_tag]"
+# read -p "Press [Enter] to continue..." any_key;
+
+docker build --tag="apereo/cas:v$image_tag" . \
+  && echo "Built CAS image successfully tagged as apereo/cas:v$image_tag" \
+  && docker images "apereo/cas:v$image_tag"
\ No newline at end of file