14 lines
321 B
Bash
14 lines
321 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -d "./keycloak-cas/" ]
|
|
then
|
|
git clone https://github.com/RoboJackets/keycloak-cas
|
|
fi
|
|
if [ -d "./target/" ]
|
|
then
|
|
rm -r target/
|
|
fi
|
|
docker build -t build-dep .
|
|
docker create -it --name build-dep-container build-dep bash
|
|
docker cp build-dep-container:/target ./target
|
|
docker rm -f build-dep-container |