Skip to content

Commit 407fc53

Browse files
committed
Fix goreleaser binaries (disable cgo).
1 parent c063da0 commit 407fc53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile-devel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM golang:1.11-alpine
22

33
ENV PROJECT_PATH=/go/src/github.com/brocaar/lora-gateway-bridge
44
ENV PATH=$PATH:$PROJECT_PATH/build
5+
ENV CGO_ENABLED=0
6+
ENV GO_EXTRA_BUILD_ARGS="-a -installsuffix cgo"
57

68
RUN apk add --no-cache ca-certificates make git bash alpine-sdk
79

0 commit comments

Comments
 (0)