Update to Go 1.19

This commit is contained in:
Katrina Verey
2022-11-16 20:51:56 -05:00
parent 62f0dab2ac
commit 91a2c2b1a4
63 changed files with 67 additions and 66 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
ENV CGO_ENABLED=0
WORKDIR /go/src/

View File

@@ -1,6 +1,6 @@
module sigs.k8s.io/kustomize/cmd/config/internal/commands/e2e/e2econtainerconfig
go 1.18
go 1.19
require sigs.k8s.io/kustomize/kyaml v0.13.7

View File

@@ -144,7 +144,7 @@ The script wraps itself using ` + "`" + `config run wrap -- $0` + "`" + ` which
` + "`" + `Dockerfile` + "`" + ` installs ` + "`" + `kustomize fn` + "`" + ` and copies the script into the container image.
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
RUN go get sigs.k8s.io/kustomize/cmd/config
RUN mv /go/bin/config /usr/bin/config
COPY nginx-template.sh /usr/bin/nginx-template.sh