coreos-home-server/service/rss2email/Containerfile
Alex Palaistras f877a72e83 Flatten directory structures
This commit contains a fairly large diff for a fairly small change:
moving the `config/common` directory to `host/base` to better reflect
its intended use, and promoting `config/service` to the root directory.

These changes unlock some improvements in `coreos-home-server-update`
processes, which will (assuming `/etc/coreos-home-server/base` exists)
keep host-wide systemd services in sync in addition to service-specific
ones.

Changes have been make to the `Makefile` and a few other places where
`config/common` was referenced, but most of this work is renames that
are not intended to break compatibility with new or running servers.
2022-01-15 11:43:33 +00:00

20 lines
718 B
Docker

FROM docker.io/debian:bullseye-slim
ARG VERSION=4a088c7efe1c76fa1ebe842adc8e2a796df8f313
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"]