about summary refs log tree commit diff
path: root/third_party/apereo-cas/overlay/docker-build.sh
blob: dc098ade96d6b57c5fe4cf55475703416479d4a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
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"