ALAMI Adnane 63327bc312
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 43s
CI / build (push) Failing after 10s
fix: config stuff, do make keycloak first
2025-05-09 00:40:41 +02:00

15 lines
375 B
Bash

#!/bin/bash
if [ ! -d "./keycloak-cas/" ]
then
git clone https://github.com/RoboJackets/keycloak-cas
patch $(find . | grep UrlHelper.java) https_patch
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