Skip to content

Commit

Permalink
Merge pull request #9 from benfrisbie/CGO_ENABLED=0
Browse files Browse the repository at this point in the history
docker build CGO_ENABLED=0
  • Loading branch information
benfrisbie authored Feb 3, 2022
2 parents 18e49e4 + 58cc948 commit 9f6700d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY main.go ./
COPY pkg ./pkg

# build binary
RUN go build -o /gowordle
RUN CGO_ENABLED=0 go build -o /gowordle

###
# Stage 2: Copy binary into small image
Expand Down

0 comments on commit 9f6700d

Please sign in to comment.