From 001bd3fc66852ae8cbdb073e1a63108529c11e89 Mon Sep 17 00:00:00 2001 From: Utku Birkan Date: Sat, 23 Mar 2024 12:49:49 +0000 Subject: [PATCH] Add devcontainer support --- .devcontainer/devcontainer.json | 23 +++++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..608e85a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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"] + } + } +} diff --git a/README.md b/README.md index 0289891..94f0c00 100644 --- a/README.md +++ b/README.md @@ -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.