Skip to content

Commit

Permalink
fix: removed unnecessary C-related flags for go build
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 4, 2024
1 parent d42b9cc commit 37a902e
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 @@ -8,7 +8,7 @@ RUN go mod download

COPY mail.go main.go ./

RUN CGO_ENABLED=1 GOOS=linux go build -o ./build --tags "fts5" -a -ldflags '-linkmode external -extldflags "-static"' .
RUN CGO_ENABLED=1 GOOS=linux go build -o ./build -a -ldflags '-linkmode external -extldflags "-static"' .

FROM alpine:latest AS app

Expand Down

0 comments on commit 37a902e

Please sign in to comment.