Benachrichtige Nutzer über bevorstehende Veranstaltungen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
386 B

FROM golang:alpine AS build
RUN apk --no-cache add ca-certificates
COPY go.mod /build/
WORKDIR /build
RUN go mod download
COPY *.go /build/
COPY notifier/ /build/notifier/
RUN CGO_ENABLED=0 go build -ldflags '-s -w' -o /out/ics-notifier .
FROM scratch
COPY --from=build /out/ /
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/ics-notifier"]