Skip to content

Commit

Permalink
bump golang to 1.20.1 to address buildvcs=true failure
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wblew committed Feb 26, 2023
1 parent d446d1b commit 29fa6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down

0 comments on commit 29fa6a5

Please sign in to comment.