Skip to content

Commit

Permalink
build: go-sqlite3 use CGO_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
pupilcc committed Jul 30, 2024
1 parent f847101 commit d6ee39f
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 @@ -4,7 +4,7 @@ COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/bin/autossl .
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o /go/bin/autossl .

FROM alpine:latest

Expand Down

0 comments on commit d6ee39f

Please sign in to comment.