Skip to content

Commit

Permalink
Merge pull request #249 from vitalibalashka/feat-dockerfile-cgo-enabled
Browse files Browse the repository at this point in the history
feat: cgo-enabled flag
  • Loading branch information
mergify[bot] authored Jun 26, 2023
2 parents 26cd4d3 + 567060f commit eb43149
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ WORKDIR /go/src/github.com/BuxOrg/bux-server

COPY . ./

ENV CGO_ENABLED=1

# Build binary
RUN GOOS=linux go build -o bux cmd/server/main.go

Expand Down

0 comments on commit eb43149

Please sign in to comment.