Skip to content

Commit

Permalink
Merge pull request #4 from hpsony94/feat/cgodisabled
Browse files Browse the repository at this point in the history
CGO has to be disabled for alpine image
  • Loading branch information
glours committed Nov 14, 2021
2 parents 0873ee9 + df5abe0 commit 41b68fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM golang:1.16 AS build
WORKDIR /go/src/github.com/org/repo
COPY . .

ENV CGO_ENABLED=0
RUN go build -o server .

FROM build AS development
Expand Down

0 comments on commit 41b68fc

Please sign in to comment.