Skip to content

Commit

Permalink
Create init container for theme management (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrizzi authored Dec 7, 2021
1 parent 4867b95 commit 9758dd5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM k8s.gcr.io/busybox

ADD target/tackle-keycloak-theme-*.jar /

ENTRYPOINT [ "sh", "-c", "cp /tackle-keycloak-theme-* /deployments" ]
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ The script above will download Keycloak and configure files. Now you can init Ke

- Open your browser using http://localhost:8080/auth and create your admin user.
- Select the new theme in the Keycloak console

## Release

1. build JAR locally running:
```shell
mvn clean install
```
2. create the container image executing:
```shell
podman build -t tackle-keycloak-init:$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout) -f Dockerfile.init .
```

0 comments on commit 9758dd5

Please sign in to comment.