Skip to content

Commit

Permalink
Added Dev-container support (#598)
Browse files Browse the repository at this point in the history
For ease of development.
  • Loading branch information
freemanjp authored Mar 3, 2024
1 parent a1edc0e commit a6b229d
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/java
{
"name": "ktlin-maven-plugin",
"image": "mcr.microsoft.com/devcontainers/java:1-11-bookworm",

"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "none",
"installMaven": "true",
"installGradle": "false"
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true
},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1": {
"packages": "fzf grc shellcheck zoxide"
},
"ghcr.io/devcontainers-contrib/features/fd:1": {},
"ghcr.io/devcontainers-contrib/features/ripgrep:1": {},
"ghcr.io/devcontainers-contrib/features/shfmt:1": {},
"ghcr.io/devcontainers-contrib/features/starship:1": {},
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
"plugins": "dirhistory fd fzf git-escape-magic gh git grc ripgrep starship sudo zoxide zsh-autosuggestions zsh-syntax-highlighting",
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting.git"
}
}

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "java -version",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,8 @@ updates:
schedule:
interval: weekly
day: saturday
- package-ecosystem: devcontainers
directory: "/"
schedule:
interval: weekly
day: saturday

0 comments on commit a6b229d

Please sign in to comment.