Skip to content

Commit

Permalink
build: Add -trimpath to improve binary reproducability of edgex-ui se…
Browse files Browse the repository at this point in the history
…rver

Closes #580

Signed-off-by: Bryon Nevis <bryon.nevis@intel.com>
  • Loading branch information
bnevis-i committed Jun 7, 2023
1 parent 0be910d commit 301164a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DOCKERS=docker_edgex_ui_go

VERSION=$(shell cat ./VERSION 2>/dev/null || echo 0.0.0)

GOFLAGS=-ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=$(VERSION)"
GOFLAGS=-ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=$(VERSION)" -trimpath
GOTESTFLAGS?=-race

GIT_SHA=$(shell git rev-parse HEAD)
Expand Down

0 comments on commit 301164a

Please sign in to comment.