tvl-depot/third_party/apereo-cas/overlay/docker-build.sh
Luke Granger-Brown c22796eb2a merge(3p/apereo-cas-overlay): Merge commit '2e185f50c3' as 'third_party/apereo-cas/overlay'
Change-Id: Ic3590a8da009199100f6dd9f8c9c41196b5ea9ff
2020-07-05 19:17:12 +00:00

10 lines
No EOL
360 B
Bash
Executable file

#!/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"