Looking to build 24.0.3 from source with docker image

144 views
Skip to first unread message

Laxmikant Sharma

unread,
Apr 24, 2024, 12:28:28 AM4/24/24
to Keycloak User
Hello team,

Due to some customizations, I need to build the keycloak from source. I forked the repo and then followed steps in readme and build.md file. I am able to build and launch locally. 

However, I need to build a docker image and push to my docker hub repo. Any suggestions on sample Dockerfile and docker-compose.yml file if you can share please?

Appreciate your help!

Alexander Schwartz

unread,
May 2, 2024, 4:42:16 AM5/2/24
to Keycloak User
Hi,

you find the Dockerfile that Keycloak uses to build a docker file here: 

https://github.com/keycloak/keycloak/tree/main/quarkus/container

The folder also contains a README. 

Best,
Alexander

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/a129c007-5505-422c-acc8-f12dcc3fbae3n%40googlegroups.com.


--

Alexander Schwartz, RHCE

He/Him

Principal Software Engineer, Keycloak Maintainer

Red Hat - Germany remote

asch...@redhat.com   

Red Hat GmbH, Registered seat: Werner von Siemens Ring 12, D-85630 Grasbrunn, Germany 
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross
Reply all
Reply to author
Forward
0 new messages