diff options
author | lukegb <lukegb@tvl.fyi> | 2020-07-05T19·21+0000 |
---|---|---|
committer | lukegb <lukegb@tvl.fyi> | 2020-07-05T19·21+0000 |
commit | 4b9fde0abe01bb09e0c30402ce89ff02bc0afb49 (patch) | |
tree | a43500d29b629314fc12f514c6b6714a214fb20b /third_party/apereo-cas/overlay/docker-build.sh | |
parent | 8f4dea27a6561a30e4044d532a76e716c6cbf75b (diff) | |
parent | c22796eb2a4c9e9f04dcc098c7705a6ddfce81a5 (diff) |
Merge "merge(3p/apereo-cas-overlay): Merge commit '2e185f50c38db1a85f39a6bd5ad4c4e58462f003' as 'third_party/apereo-cas/overlay'" into canon r/1218
Diffstat (limited to 'third_party/apereo-cas/overlay/docker-build.sh')
-rwxr-xr-x | third_party/apereo-cas/overlay/docker-build.sh | 10 |
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 |