Add devcontainer support

This commit is contained in:
Utku Birkan 2024-03-23 12:49:49 +00:00
parent 4529ae8727
commit 001bd3fc66
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

@ -55,6 +55,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}
```
## 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
Keycloakify enables you to create different variant for a single theme.