-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from nicolabeghin/upgrade_keycloak_23
Upgrade for Keycloak 23 compatibility + WIP restore UI through ConfiguredProvider
- Loading branch information
Showing
14 changed files
with
446 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM maven:3-eclipse-temurin-21-alpine | ||
WORKDIR /opt/app | ||
|
||
# to cache dependencies | ||
ADD pom*.xml . | ||
RUN mvn verify --fail-never | ||
|
||
# build final JAR | ||
COPY . . | ||
RUN mvn package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
SERVICE_TARGET := spid-keycloak-provider | ||
|
||
# all our targets are phony (no files to check). | ||
.PHONY: help package | ||
|
||
# suppress makes own output | ||
#.SILENT: | ||
|
||
help: | ||
@echo 'Usage: make [TARGET] ' | ||
|
||
build: package | ||
|
||
extract: | ||
$(eval DOCKER_CONTAINER := $(shell docker create --name tc ${SERVICE_TARGET}:latest)) | ||
mkdir -p target | ||
docker cp ${DOCKER_CONTAINER}:/opt/app/target/spid-provider.jar target/ | ||
docker rm tc | ||
|
||
package: | ||
rm -fr target || true | ||
-docker rm tc | ||
docker build -t ${SERVICE_TARGET} . | ||
$(MAKE) extract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.