Skip to content

Commit

Permalink
Try with CGO enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Arnav Gupta <dev@championswimmer.in>
  • Loading branch information
championswimmer committed Aug 8, 2024
1 parent 0a66b14 commit e451f13
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 @@ -15,7 +15,7 @@ RUN go mod download
COPY . .

# Set necessary environment variables needed for our image and build the API server.
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
ENV CGO_ENABLED=1 GOOS=linux GOARCH=amd64
# RUN go build -ldflags="-s -w" -o onepixel ./src/main.go
RUN make build DOCS=false

Expand Down

0 comments on commit e451f13

Please sign in to comment.