2026-01-25 21:35:57 -08:00
|
|
|
# Miniflux RSS feed reader
|
|
|
|
|
# Based on upstream packaging/docker/alpine/Dockerfile
|
|
|
|
|
|
2026-02-13 17:16:37 -08:00
|
|
|
ARG MINIFLUX_VERSION=2.2.17
|
2026-01-25 21:35:57 -08:00
|
|
|
|
2026-02-13 17:16:37 -08:00
|
|
|
FROM golang:alpine3.22 AS build
|
2026-01-25 21:35:57 -08:00
|
|
|
|
|
|
|
|
ARG MINIFLUX_VERSION
|
|
|
|
|
RUN apk add --no-cache build-base git make
|
|
|
|
|
|
|
|
|
|
# Clone specific version
|
|
|
|
|
RUN git clone --depth 1 --branch ${MINIFLUX_VERSION} \
|
|
|
|
|
https://github.com/miniflux/v2.git /go/src/app
|
|
|
|
|
|
|
|
|
|
WORKDIR /go/src/app
|
|
|
|
|
RUN make miniflux
|
|
|
|
|
|
2026-02-13 17:16:37 -08:00
|
|
|
FROM alpine:3.22
|
2026-01-25 21:35:57 -08:00
|
|
|
|
|
|
|
|
LABEL org.opencontainers.image.title=Miniflux
|
|
|
|
|
LABEL org.opencontainers.image.description="Miniflux is a minimalist and opinionated feed reader"
|
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/miniflux/v2
|
|
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
ENV LISTEN_ADDR=0.0.0.0:8080
|
|
|
|
|
|
|
|
|
|
RUN apk --no-cache add ca-certificates tzdata
|
|
|
|
|
COPY --from=build /go/src/app/miniflux /usr/bin/miniflux
|
|
|
|
|
|
|
|
|
|
USER 65534
|
|
|
|
|
CMD ["/usr/bin/miniflux"]
|