From 073781aa50ae7f66b4c8ee9e998d51cf784afb83 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 17 Sep 2021 00:53:48 +0000 Subject: [PATCH] Update to 0.195.0 --- .devcontainer/Dockerfile | 6 +++--- .devcontainer/devcontainer.json | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b8f4503..a2380d3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,6 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/java/.devcontainer/base.Dockerfile -# [Choice] Java version: 8, 11, 16 -ARG VARIANT=11 +# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/java/.devcontainer/base.Dockerfile +# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 8, 11, 16, 8-bullseye, 11-bullseye, 16-bullseye, 8-buster, 11-buster, 16-buster +ARG VARIANT=11-bullseye FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT} # [Option] Install Maven diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 83f8ba6..cebf301 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,12 +1,14 @@ // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: -// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/java +// https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/java { "name": "Java", "build": { "dockerfile": "Dockerfile", "args": { // Update the VARIANT arg to pick a Java version: 8, 11, 14 - "VARIANT": "11", + // Append -bullseye or -buster to pin to an OS version. + // Use the -bullseye variants on local arm64/Apple Silicon. + "VARIANT": "11-bullseye", // Options "INSTALL_MAVEN": "true", "MAVEN_VERSION": "3.6.3",