coreos-home-server/service/rss2email/Containerfile
Alex Palaistras bef546cb79 rss2email: Use volume mounts for subscriptions
This commit updates to the latest version of RSS2Email, and uses
`podman volume mount` rather than ephemeral containers for affecting
changes.
2022-07-11 21:20:55 +01:00

20 lines
718 B
Docker

FROM docker.io/debian:bullseye-slim
ARG VERSION=4fa34da9fbfcaa5e5496b13c4bdd17362c383568
RUN apt-get update -y && apt-get install -y --no-install-recommends \
ca-certificates git gettext gosu \
python3 python3-setuptools python3-feedparser python3-html2text python3-bs4
RUN git clone https://github.com/rss2email/rss2email /tmp/rss2email && \
cd /tmp/rss2email && git reset --hard ${VERSION} && \
python3 setup.py install && \
rm -Rf /tmp/rss2email
RUN addgroup --system --gid 10000 rss2email
RUN adduser --system --uid 10000 --ingroup rss2email --home /var/lib/rss2email rss2email
COPY container/config /etc/rss2email
COPY container/run-rss2email /run-rss2email
ENTRYPOINT ["/run-rss2email"]