Added support for environmental config values

Updated Go version to 1.20.0
This commit is contained in:
James Wells 2023-02-10 07:23:35 -08:00
parent 77c9399942
commit 4a9d4ceca8
Signed by: jwells
GPG key ID: 73196D10B8E65666
6 changed files with 23 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.194.3/containers/go/.devcontainer/base.Dockerfile
# [Choice] Go version: 1, 1.16, 1.17
ARG VARIANT="1.19"
ARG VARIANT="1.20"
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
COPY --from=aquasec/trivy:0.32.1 /usr/local/bin/trivy /usr/bin/trivy

View file

@ -3,12 +3,12 @@
{
"name": "Go",
"build": {
"dockerfile": "Dockerfile",
// "dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "1.19-bullseye",
// "VARIANT": "1.20-bullseye",
// Options
"NODE_VERSION": "none"
}