mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
[build] Fix build flags for portmaster-start
This commit is contained in:
parent
e160dfb091
commit
3775f5c6dd
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ go-build:
|
|||
ENV EXTRA_LD_FLAGS = ""
|
||||
END
|
||||
|
||||
RUN --no-cache go build -ldflags="-X github.com/safing/portmaster/base/info.version=${VERSION} -X github.com/safing/portmaster/base/info.buildSource=${SOURCE} -X github.com/safing/portmaster/base/info.buildTime=${BUILD_TIME}" -o "/tmp/build/" ./cmds/${bin}
|
||||
RUN --no-cache go build -ldflags="${EXTRA_LD_FLAGS} -X github.com/safing/portmaster/base/info.version=${VERSION} -X github.com/safing/portmaster/base/info.buildSource=${SOURCE} -X github.com/safing/portmaster/base/info.buildTime=${BUILD_TIME}" -o "/tmp/build/" ./cmds/${bin}
|
||||
END
|
||||
|
||||
DO +GO_ARCH_STRING --goos="${GOOS}" --goarch="${GOARCH}" --goarm="${GOARM}"
|
||||
|
|
Loading…
Add table
Reference in a new issue