New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keycloak: init 9.0.0 #80897
keycloak: init 9.0.0 #80897
Conversation
b1e8c4b
to
b0d06fd
Compare
b0d06fd
to
9324291
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, LGTM
9324291
to
57f740c
Compare
Was about to merge this but noticed that the $ ls result/bin/
add-user.bat federation-sssd-setup.sh migrate-standalone-ha.cli
add-user-keycloak.bat jboss-cli.bat product.conf
add-user-keycloak.sh jboss-cli-logging.properties standalone.bat
add-user.properties jboss-cli.ps1 standalone.conf
add-user.ps1 jboss-cli.sh standalone.conf.bat
add-user.sh jboss-cli.xml standalone.conf.ps1
appclient.sh jconsole.bat standalone.ps1
client jconsole.ps1 standalone.sh
common.bat jconsole.sh vault.bat
common.ps1 jdr.bat vault.ps1
common.sh jdr.ps1 vault.sh
domain.bat jdr.sh wildfly-elytron-tool.jar
domain.conf kcadm.bat wsconsume.bat
domain.conf.bat kcadm.sh wsconsume.ps1
domain.conf.ps1 kcreg.bat wsconsume.sh
domain.ps1 kcreg.sh wsprovide.bat
domain.sh launcher.jar wsprovide.ps1
elytron-tool.bat migrate-domain-clustered.cli wsprovide.sh
elytron-tool.ps1 migrate-domain-standalone.cli
elytron-tool.sh migrate-standalone.cli I think at the very least, the |
57f740c
to
9226c9b
Compare
Good catch. I've removed I presumed imitating the official keycloak docker image wouldn't lead me astray, but the docker doesn't seem all that optimal (not that it's building from source either). |
9226c9b
to
3b9ae13
Compare
Yeah, they certainly didn't package it in a "standard" way. I think what you have now is good enough for the time being since I imagine few people would install this into their profile. |
Rebased to master in 2dd9829. |
PR NixOS#80897 (cherry picked from commit 2dd9829)
Motivation for this change
Keycloak is a common opensource IdP for both home and business use, and is missing from the nixpkg repos. While this does not build from source (which involves a complex maven build), it does grab a build jar and make it available for use.
Running
JBOSS_BASE_DIR=/some/mutable/folder standalone.sh
allows running keycloak in standalone mode (assuming the folder has necessary configuration files).Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)