We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0960ab commit 6047acbCopy full SHA for 6047acb
.github/workflows/build.yml
@@ -45,6 +45,7 @@ jobs:
45
46
- name: Go Build
47
run: |
48
+ export CGO_ENABLED=0
49
export GOOS=${{ matrix.targets.OS }}
50
export GOARCH=${{ matrix.targets.ARCH }}
51
mkdir -p dist
server/Dockerfile
@@ -2,7 +2,9 @@ FROM golang:1.23-alpine AS builder
2
3
COPY ./ ./
4
5
-RUN go build -trimpath -ldflags="-s -w" -o /wst-server ./server
+ENV CGO_ENABLED=0
6
+
7
+RUN go build -trimpath -ldflags="-s -w" -o /wst-server .
8
9
FROM alpine:latest
10
0 commit comments