Skip to content

Commit cd38dcd

Browse files
authored
Update Dockerfile
1 parent 0e0d162 commit cd38dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /build
88
RUN git clone https://github.com/nxtrace/Ntrace-core.git . && \
99
go clean -modcache && \
1010
go mod download && \
11-
go build -o nexttrace .
11+
go build -trimpath -ldflags '-w -s -checklinkname=0' -o nexttrace .
1212

1313
FROM ubuntu:22.04
1414

0 commit comments

Comments
 (0)