1 Commits

Author SHA1 Message Date
jzitnik dee1d94ae4 fix: CGO
Build and Publish Package (amd64) / docker (push) Successful in 6m28s
2026-07-25 19:55:53 +02:00
+2 -2
View File
@@ -1,13 +1,13 @@
FROM golang:1.26-alpine AS builder FROM golang:1.26-alpine AS builder
WORKDIR /app WORKDIR /app
RUN apk add --no-cache git ca-certificates RUN apk add --no-cache git ca-certificates gcc musl-dev
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download
COPY . . COPY . .
RUN go build -ldflags="-w -s" -o mautrix-ntfy . RUN CGO_ENABLED=1 go build -ldflags="-w -s" -o mautrix-ntfy .
FROM alpine:latest FROM alpine:latest