containerfile: build pcmt with -trimpath [skip ci]
This commit is contained in:
parent
7256007b33
commit
4ceb19f4dc
@ -27,7 +27,7 @@ WORKDIR /go/pcmt
|
||||
RUN apk add --no-cache npm=9.1.2-r0 \
|
||||
&& go generate -v . \
|
||||
&& CGO_ENABLED=0 GOLDFLAGS="-s -w -X main.version=${VERSION:-prod}" \
|
||||
go build -v .
|
||||
go build -trimpath -v .
|
||||
|
||||
|
||||
FROM docker.io/immawanderer/scratch-cacerts:linux-amd64
|
||||
|
Loading…
Reference in New Issue
Block a user