10 lines
380 B
Bash
Executable File
10 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
|
|
image_tag=(`cat gradle.properties | grep "cas.version" | cut -d= -f2`)
|
|
|
|
echo "Building CAS docker image tagged as [$image_tag]"
|
|
# read -p "Press [Enter] to continue..." any_key;
|
|
|
|
docker build --tag="org.apereo.cas/cas:$image_tag" . \
|
|
&& echo "Built CAS image successfully tagged as org.apereo.cas/cas:$image_tag" \
|
|
&& docker images "org.apereo.cas/cas:$image_tag" |