From 40938581d7946c6e584aafd83d82e6a1b62b9492 Mon Sep 17 00:00:00 2001 From: MaxPeal <30347730+MaxPeal@users.noreply.github.com> Date: Mon, 20 Jun 2022 12:45:18 +0200 Subject: [PATCH] disable GODEBUG=gocachehash=1 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06e9ce4..37ec66d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,10 +42,11 @@ RUN --mount=type=cache,id=gomod,sharing=locked,mode=0775,target=/go/pkg/mod \ du -hd0 $(go env GOCACHE) && \ go env GOMODCACHE && \ du -hd0 $(go env GOMODCACHE) && \ - GODEBUG=gocachehash=1 go build -v -ldflags="-s -w" && \ + go build -v -ldflags="-s -w" && \ du -hd0 $(go env GOCACHE) && \ du -hd0 $(go env GOMODCACHE) - # go build -ldflags="-s -w" +## # GODEBUG=gocachehash=1 go build -v -ldflags="-s -w" && \ +## # go build -ldflags="-s -w" FROM alpine:3.16 WORKDIR /app