From 38ee9a41c8f8aa24a079a28f5e8a86faecffdfe1 Mon Sep 17 00:00:00 2001 From: Tochi Obudulu Date: Sat, 3 Sep 2022 13:54:18 +0100 Subject: [PATCH] build: bump golang base image version to 1.17 Image fails to build on 1.16 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec45ee64c3..58e4b59aec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,9 @@ ARG ARCH=amd64 # https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests # https://cloud.google.com/architecture/using-container-images # https://github.com/google/go-containerregistry/blob/main/cmd/crane/README.md -# ➜ ~ crane digest golang:1.16-alpine3.12 -# sha256:db2475a1dbb2149508e5db31d7d77a75e6600d54be645f37681f03f2762169ba -FROM golang@sha256:db2475a1dbb2149508e5db31d7d77a75e6600d54be645f37681f03f2762169ba AS build-container +# ➜ ~ crane digest golang:1.17.13-alpine3.16 +# sha256:c80567372be0d486766593cc722d3401038e2f150a0f6c5c719caa63afb4026a +FROM golang@sha256:c80567372be0d486766593cc722d3401038e2f150a0f6c5c719caa63afb4026a AS build-container ARG ARCH ENV GO111MODULE=on