From 29fa6a50ab76f465ad32a106af11e9ec0939cba0 Mon Sep 17 00:00:00 2001 From: William Blew Date: Sun, 26 Feb 2023 13:40:22 -0800 Subject: [PATCH] bump golang to 1.20.1 to address buildvcs=true failure The older golang:1.19.3-alpine3.15 as builder is failing, due to the go build error 'error obtaining VCS status: exit status 128'. Bumping the builder image to golang:1.20.1-alpine3.17 fixes the this go build failure. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fb0fca1..f21067e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG IMAGE=scratch ARG OS=linux ARG ARCH=amd64 -FROM golang:1.19.3-alpine3.15 as builder +FROM golang:1.20.1-alpine3.17 as builder WORKDIR /go/src/github.com/eko/pihole-exporter COPY . .