diff --git a/Dockerfile b/Dockerfile index d3cd2c25..3c3740dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.20.7-alpine3.18 as builder +FROM golang:1.21.0-alpine3.18 as builder RUN apk add --no-cache --no-progress gcc git make musl-dev COPY . /src ARG BININFO_BUILD_DATE BININFO_COMMIT_HASH BININFO_VERSION # provided to 'make install' -RUN make -C /src install PREFIX=/pkg GO_BUILDFLAGS='-mod vendor' +RUN make -C /src install PREFIX=/pkg GOTOOLCHAIN=local GO_BUILDFLAGS='-mod vendor' ################################################################################