Updating versions.

This commit is contained in:
James Wells 2022-11-21 14:28:30 -08:00
parent c677d30cf5
commit 316ea1afa6
Signed by: jwells
GPG key ID: 73196D10B8E65666
4 changed files with 7 additions and 6 deletions

View file

@ -1,10 +1,11 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.194.3/containers/go/.devcontainer/base.Dockerfile # 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 # [Choice] Go version: 1, 1.16, 1.17
ARG VARIANT="1.18" ARG VARIANT="1.19"
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT} FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
COPY --from=aquasec/trivy:0.25.4 /usr/local/bin/trivy /usr/bin/trivy COPY --from=aquasec/trivy:0.32.1 /usr/local/bin/trivy /usr/bin/trivy
COPY --from=securego/gosec:2.13.1 /bin/gosec /usr/bin/gosec
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 # [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none" ARG NODE_VERSION="none"

View file

@ -8,7 +8,7 @@
// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17 // 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. // Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon. // Use -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "1.18-bullseye", "VARIANT": "1.19-bullseye",
// Options // Options
"NODE_VERSION": "none" "NODE_VERSION": "none"
} }

View file

@ -30,7 +30,7 @@ steps:
- refs/tags/** - refs/tags/**
- name: Validate code base and dependencies - name: Validate code base and dependencies
image: dragonheim/golang:1.17 image: dragonheim/golang:latest
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run/docker.sock
@ -86,7 +86,7 @@ steps:
- echo "running" - echo "running"
- name: Build and push container - name: Build and push container
image: dragonheim/golang:1.17 image: dragonheim/golang:latest
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run/docker.sock

View file

@ -1,4 +1,4 @@
FROM dragonheim/golang:1.18 as builder FROM dragonheim/golang:1.19 as builder
ARG SEMVER ARG SEMVER
WORKDIR /gagent WORKDIR /gagent