Add miniflux container, update deployment to use local image
Builds miniflux 2.2.16 from source using upstream build process.
This commit is contained in:
parent
9364849941
commit
753fede0b8
2 changed files with 32 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: miniflux
|
||||
image: ghcr.io/miniflux/miniflux:2.2.16
|
||||
image: registry.ops.eblu.me/blumeops/miniflux:v1.0.0
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
|
|
|
|||
31
containers/miniflux/Dockerfile
Normal file
31
containers/miniflux/Dockerfile
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Miniflux RSS feed reader
|
||||
# Based on upstream packaging/docker/alpine/Dockerfile
|
||||
|
||||
ARG MINIFLUX_VERSION=2.2.16
|
||||
|
||||
FROM golang:alpine3.21 AS build
|
||||
|
||||
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
|
||||
|
||||
FROM alpine:3.21
|
||||
|
||||
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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue