Skip to content

Commit 9bdc7a8

Browse files
authored
rebuilt containers?
1 parent 23a74d0 commit 9bdc7a8

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/java/.devcontainer/base.Dockerfile
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/java/.devcontainer/base.Dockerfile
22

3-
# [Choice] Java version: 11, 16
4-
ARG VARIANT="16"
3+
# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 11, 16, 11-bullseye, 16-bullseye, 11-buster, 16-buster
4+
ARG VARIANT="16-jdk-bullseye"
55
FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT}
66

77
# [Option] Install Maven

.devcontainer/devcontainer.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2-
// https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/java
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/java
33
{
44
"name": "Java",
5+
"runArgs": ["--init"],
56
"build": {
67
"dockerfile": "Dockerfile",
78
"args": {
89
// Update the VARIANT arg to pick a Java version: 11, 16
10+
// Append -bullseye or -buster to pin to an OS version.
11+
// Use the -bullseye variants on local arm64/Apple Silicon.
912
"VARIANT": "11",
1013
// Options
1114
"INSTALL_MAVEN": "false",
@@ -31,5 +34,9 @@
3134
// "postCreateCommand": "java -version",
3235

3336
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
34-
"remoteUser": "vscode"
37+
"remoteUser": "vscode",
38+
"features": {
39+
"git": "latest",
40+
"github-cli": "latest"
41+
}
3542
}

0 commit comments

Comments
 (0)