From 7cea149bb0b510d2fb7fe71eee28d10399d0ceb4 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 13 Sep 2022 11:25:46 -0400 Subject: docker: reproducibility add -trimpath to go -> $GO patches With this, we build and package docker without QA warnings due to references to TMPDIR. Signed-off-by: Bruce Ashfield --- .../docker/files/0001-dynbinary-use-go-cross-compiler.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch') diff --git a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch index 971c60d7..c6edaf46 100644 --- a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch +++ b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch @@ -17,7 +17,7 @@ Index: git/src/import/hack/make/.binary echo "Building: $DEST/$BINARY_FULLNAME" echo "GOOS=\"${GOOS}\" GOARCH=\"${GOARCH}\" GOARM=\"${GOARM}\"" - go build \ -+ ${GO} build \ ++ ${GO} build -trimpath \ -o "$DEST/$BINARY_FULLNAME" \ "${BUILDFLAGS[@]}" \ -ldflags " -- cgit v1.2.3-54-g00ecf