2024-04-02 20:51:15 +02:00
|
|
|
FROM docker.io/library/golang:bookworm AS build
|
2020-10-19 00:00:10 +02:00
|
|
|
ADD . /go/src/app
|
|
|
|
WORKDIR /go/src/app
|
2024-04-02 20:51:15 +02:00
|
|
|
RUN make miniflux
|
2020-10-19 00:00:10 +02:00
|
|
|
|
2024-04-02 20:51:15 +02:00
|
|
|
FROM gcr.io/distroless/base-debian12:nonroot
|
2021-02-14 01:27:23 +01:00
|
|
|
|
|
|
|
LABEL org.opencontainers.image.title=Miniflux
|
|
|
|
LABEL org.opencontainers.image.description="Miniflux is a minimalist and opinionated feed reader"
|
|
|
|
LABEL org.opencontainers.image.vendor="Frédéric Guillot"
|
|
|
|
LABEL org.opencontainers.image.licenses=Apache-2.0
|
|
|
|
LABEL org.opencontainers.image.url=https://miniflux.app
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/miniflux/v2
|
|
|
|
LABEL org.opencontainers.image.documentation=https://miniflux.app/docs/
|
|
|
|
|
2020-11-04 18:48:24 +01:00
|
|
|
EXPOSE 8080
|
2020-10-19 00:00:10 +02:00
|
|
|
ENV LISTEN_ADDR 0.0.0.0:8080
|
|
|
|
COPY --from=build /go/src/app/miniflux /usr/bin/miniflux
|
|
|
|
CMD ["/usr/bin/miniflux"]
|