We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd47c0d commit 465d44fCopy full SHA for 465d44f
Dockerfile
@@ -12,7 +12,7 @@ RUN apk add --no-cache build-base
12
RUN go mod download
13
14
# Build the binary
15
-RUN go build --ldflags "-s -w" -o bin/spirit -tags sqlite ./cmd/spirit/main.go
+RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build --ldflags "-s -w" -o bin/spirit -tags sqlite ./cmd/spirit/main.go
16
17
# Run the generated binary
18
CMD ["/opt/spirit/bin/spirit"]
0 commit comments