Upgrade to Golang 1.20.4 (#10016)

* Upgrade to Golang 1.20.4 and alpine 3.18.0

* Handle Review comments
This commit is contained in:
Stilian Stoilov 2023-06-02 04:07:46 +03:00 committed by GitHub
parent d02ba28b96
commit 8a61027f1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.20.1-alpine3.17 as builder
FROM golang:1.20.4-alpine3.18 as builder
RUN apk update \
&& apk upgrade && apk add git

View file

@ -1,4 +1,4 @@
FROM golang:1.20.1-alpine3.17 as builder
FROM golang:1.20.4-alpine3.18 as builder
RUN mkdir /authsvc
WORKDIR /authsvc
COPY . ./

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.20.1-alpine3.17 as builder
FROM golang:1.20.4-alpine3.18 as builder
WORKDIR /go/src/k8s.io/ingress-nginx/images/fastcgi

View file

@ -1,4 +1,4 @@
FROM golang:1.20.1-alpine3.17 as build
FROM golang:1.20.4-alpine3.18 as build
WORKDIR /go/src/greeter-server

View file

@ -43,7 +43,7 @@ image:
--pull \
--push \
--build-arg BASE_IMAGE=${NGINX_BASE_IMAGE} \
--build-arg GOLANG_VERSION=1.20.1 \
--build-arg GOLANG_VERSION=1.20.4 \
--build-arg ETCD_VERSION=3.4.3-0 \
--build-arg K8S_RELEASE=v1.26.0 \
--build-arg RESTY_CLI_VERSION=0.27 \
@ -64,7 +64,7 @@ build: ensure-buildx
--progress=${PROGRESS} \
--pull \
--build-arg BASE_IMAGE=${NGINX_BASE_IMAGE} \
--build-arg GOLANG_VERSION=1.20.1 \
--build-arg GOLANG_VERSION=1.20.4 \
--build-arg ETCD_VERSION=3.4.3-0 \
--build-arg K8S_RELEASE=v1.26.0 \
--build-arg RESTY_CLI_VERSION=0.27 \

View file

@ -15,7 +15,7 @@ ARG BASE_IMAGE
ARG GOLANG_VERSION
ARG ETCD_VERSION
FROM golang:${GOLANG_VERSION}-alpine3.17 as GO
FROM golang:${GOLANG_VERSION}-alpine3.18 as GO
FROM registry.k8s.io/etcd:${ETCD_VERSION} as etcd
FROM ${BASE_IMAGE}