mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 06:58:59 -07:00
Added support for environmental config values
Updated Go version to 1.20.0
This commit is contained in:
parent
77c9399942
commit
4a9d4ceca8
6 changed files with 23 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue