Skip to content

Commit 584b07a

Browse files
authored
Merge pull request #424 from orca-group/main
oops
2 parents c741ff8 + 465d44f commit 584b07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apk add --no-cache build-base
1212
RUN go mod download
1313

1414
# Build the binary
15-
RUN go build --ldflags "-s -w" -o bin/spirit -tags sqlite ./cmd/spirit/main.go
15+
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build --ldflags "-s -w" -o bin/spirit -tags sqlite ./cmd/spirit/main.go
1616

1717
# Run the generated binary
1818
CMD ["/opt/spirit/bin/spirit"]

0 commit comments

Comments
 (0)