From 7681f8b94612785b110c259032645962aacf7697 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sat, 20 Jul 2024 15:21:57 -0500 Subject: [PATCH] chore: Add `-trimpath` build flag --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 660dac1..ca6b7a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN set -x \ 'linux/arm64') export GOARCH=arm64 ;; \ *) echo "Unsupported target: $TARGETPLATFORM" && exit 1 ;; \ esac \ - && go install -ldflags='-w -s' github.com/cloudflare/cloudflare-go/cmd/flarectl@v0.100.0 + && go install -ldflags='-w -s' -trimpath github.com/cloudflare/cloudflare-go/cmd/flarectl@v0.100.0 FROM b3vis/borgmatic:1.8.13 WORKDIR /data