Skip to content

Commit 791cb8d

Browse files
authored
Add Devpod internal files to .gitignore (#783)
These shouldnm't nbe comitted.
1 parent ae5d322 commit 791cb8d

2 files changed

Lines changed: 46 additions & 43 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2-
// README at: https://github.com/devcontainers/templates/tree/main/src/java
3-
{
4-
"name": "maven-parent-poms",
5-
"image": "mcr.microsoft.com/devcontainers/java:3-11-trixie",
6-
7-
"features": {
8-
"ghcr.io/devcontainers/features/java:1": {
9-
"version": "none",
10-
"installMaven": "true",
11-
"installGradle": "false"
12-
},
13-
"ghcr.io/devcontainers/features/common-utils:2": {
14-
"installZsh": true,
15-
"configureZshAsDefaultShell": true,
16-
"installOhMyZsh": true
17-
},
18-
"ghcr.io/devcontainers/features/github-cli:1": {},
19-
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1": {
20-
"packages": "fzf grc shellcheck zoxide"
21-
},
22-
"ghcr.io/devcontainers-extra/features/fd:1": {},
23-
"ghcr.io/devcontainers-extra/features/ripgrep:1": {},
24-
"ghcr.io/devcontainers-extra/features/shfmt:1": {},
25-
"ghcr.io/devcontainers-extra/features/starship:1": {},
26-
"ghcr.io/devcontainers-extra/features/zsh-plugins:0": {
27-
"plugins": "dirhistory fd fzf git-escape-magic gh git grc ripgrep starship sudo zoxide zsh-autosuggestions zsh-syntax-highlighting",
28-
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting.git"
29-
}
30-
}
31-
32-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
33-
// "forwardPorts": [],
34-
35-
// Use 'postCreateCommand' to run commands after the container is created.
36-
// "postCreateCommand": "java -version",
37-
38-
// Configure tool-specific properties.
39-
// "customizations": {},
40-
41-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
42-
// "remoteUser": "root"
43-
}
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/java
3+
{
4+
"name": "maven-parent-poms",
5+
"image": "mcr.microsoft.com/devcontainers/java:3-11-trixie",
6+
7+
"features": {
8+
"ghcr.io/devcontainers/features/java:1": {
9+
"version": "none",
10+
"installMaven": "true",
11+
"installGradle": "false"
12+
},
13+
"ghcr.io/devcontainers/features/common-utils:2": {
14+
"installZsh": true,
15+
"configureZshAsDefaultShell": true,
16+
"installOhMyZsh": true
17+
},
18+
"ghcr.io/devcontainers/features/github-cli:1": {},
19+
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1": {
20+
"packages": "fzf grc shellcheck zoxide"
21+
},
22+
"ghcr.io/devcontainers-extra/features/fd:1": {},
23+
"ghcr.io/devcontainers-extra/features/ripgrep:1": {},
24+
"ghcr.io/devcontainers-extra/features/shfmt:1": {},
25+
"ghcr.io/devcontainers-extra/features/starship:1": {},
26+
"ghcr.io/devcontainers-extra/features/zsh-plugins:0": {
27+
"plugins": "dirhistory fd fzf git-escape-magic gh git grc ripgrep starship sudo zoxide zsh-autosuggestions zsh-syntax-highlighting",
28+
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting.git"
29+
}
30+
}
31+
32+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
33+
// "forwardPorts": [],
34+
35+
// Use 'postCreateCommand' to run commands after the container is created.
36+
// "postCreateCommand": "java -version",
37+
38+
// Configure tool-specific properties.
39+
// "customizations": {},
40+
41+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
42+
// "remoteUser": "root"
43+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,6 @@ $RECYCLE.BIN/
358358

359359
# Not a Java module
360360
/.idea/checkstyle-idea.xml
361+
362+
# Devcontainer
363+
.devpod-internal

0 commit comments

Comments
 (0)