Skip to content

Commit

Permalink
build gvproxy.exe without -s -w to reduce false positive (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakai135 authored Jul 30, 2022
1 parent 11d942a commit 94a85aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distro/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY cmd ./cmd
COPY pkg ./pkg
RUN GOOS=windows go build -ldflags '-s -w -H=windowsgui' -o bin/wsl-gvproxy.exe ./cmd/gvproxy && \
RUN GOOS=windows go build -ldflags '-H=windowsgui' -o bin/wsl-gvproxy.exe ./cmd/gvproxy && \
GOOS=linux CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/wsl-vm ./cmd/vm && \
find ./bin -type f -exec sha256sum {} \;

Expand Down

0 comments on commit 94a85aa

Please sign in to comment.