feat: update gvisor with tag go and go with 1.22 (#202)

This commit is contained in:
naison
2024-03-31 22:42:31 +08:00
committed by GitHub
parent fadfd00927
commit aacdc8a6d0
634 changed files with 5614 additions and 10332 deletions

View File

@@ -1,5 +1,5 @@
FROM envoyproxy/envoy:v1.25.0 AS envoy
FROM golang:1.20 AS builder
FROM golang:1.22 AS builder
ARG BASE=github.com/wencaiwulue/kubevpn
COPY . /go/src/$BASE

View File

@@ -1,4 +1,4 @@
FROM golang:1.20 as delve
FROM golang:1.22 as delve
RUN curl --location --output delve-1.20.1.tar.gz https://github.com/go-delve/delve/archive/v1.20.1.tar.gz \
&& tar xzf delve-1.20.1.tar.gz
RUN cd delve-1.20.1 && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/dlv -ldflags '-extldflags "-static"' ./cmd/dlv/

View File

@@ -1,4 +1,4 @@
FROM golang:1.20 AS builder
FROM golang:1.22 AS builder
RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct
RUN go install github.com/go-delve/delve/cmd/dlv@latest