Merge pull request #18 from kurabirko/devcontainer

Add devcontainer support
This commit is contained in:
Joseph Garrone 2024-04-19 22:07:52 +00:00 committed by GitHub
commit 4bd38230da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
"name": "Keycloakify Starter Devcontainer",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"installDockerBuildx": true,
"version": "latest",
"dockerDashComposeVersion": "none"
},
"ghcr.io/devcontainers-contrib/features/maven-sdkman:2": {
"version": "latest",
"jdkVersion": "latest",
"jdkDistro": "ms"
}
},
"postCreateCommand": "yarn install",
"customizations": {
"vscode": {
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
}
}

View file

@ -58,6 +58,10 @@ npx download-builtin-keycloak-theme # For downloading the default theme (as a re
# Look for the files in dist_keycloak/src/main/resources/theme/{base,keycloak} # Look for the files in dist_keycloak/src/main/resources/theme/{base,keycloak}
``` ```
## Using a development container
This starter supports [development containers](https://containers.dev/). You can customize the configuatuation file [`.devcontainer.json`](./.devcontainer/devcontainer.json) to your liking.
# Theme variant # Theme variant
Keycloakify enables you to create different variant for a single theme. Keycloakify enables you to create different variant for a single theme.