From dca859afafc2fea3de8e0b68ac2725a4fe7c19ac Mon Sep 17 00:00:00 2001 From: Gerard Vanloo Date: Tue, 21 Mar 2023 14:58:45 -0400 Subject: [PATCH] operator: Update Dockerfile to go1.20 images (#8857) --- operator/Dockerfile | 2 +- operator/Dockerfile.cross | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/Dockerfile b/operator/Dockerfile index 7115296313..01971ae8f1 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.19.1 as builder +FROM golang:1.20.1 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/operator/Dockerfile.cross b/operator/Dockerfile.cross index a06cb5f835..c7776827ed 100644 --- a/operator/Dockerfile.cross +++ b/operator/Dockerfile.cross @@ -1,6 +1,6 @@ ARG BUILD_IMAGE=grafana/loki-build-image:0.28.1 -FROM golang:1.19.1-alpine as goenv +FROM golang:1.20.1-alpine as goenv RUN go env GOARCH > /goarch && \ go env GOARM > /goarm