1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/urlwatch/Dockerfile

54 lines
2.0 KiB
Docker
Raw Permalink Normal View History

2015-07-07 07:44:11 +00:00
#
# Dockerfile for urlwatch
#
2021-01-11 10:48:15 +00:00
FROM alpine:3
2021-10-25 04:08:10 +00:00
MAINTAINER EasyPi Software Foundation
2019-05-02 11:34:00 +00:00
RUN set -xe \
2021-10-25 04:08:10 +00:00
&& apk add --no-cache ca-certificates \
bash \
build-base \
curl \
jq \
libffi-dev \
libxml2 \
libxml2-dev \
libxslt \
libxslt-dev \
openssl-dev \
python3 \
python3-dev \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \
2022-01-10 07:25:38 +00:00
&& pip3 install --no-binary lxml \
aioxmpp \
appdirs \
beautifulsoup4 \
chump \
cssbeautifier \
cssselect \
jsbeautifier \
keyring \
keyrings.alt \
lxml \
markdown2 \
matrix_client \
minidb \
pushbullet.py \
pyppeteer \
pyyaml \
requests \
urlwatch \
2019-05-09 09:18:05 +00:00
&& apk del build-base \
libffi-dev \
2015-07-07 07:44:11 +00:00
libxml2-dev \
libxslt-dev \
2019-05-02 11:34:00 +00:00
openssl-dev \
python3-dev \
2019-05-09 09:18:05 +00:00
&& echo '*/30 * * * * cd /root/.urlwatch && urlwatch --urls urls.yaml --config urlwatch.yaml --hooks hooks.py --cache cache.db' | crontab -
2015-07-07 07:44:11 +00:00
2015-07-07 09:08:38 +00:00
VOLUME /root/.urlwatch
WORKDIR /root/.urlwatch
2015-07-07 07:44:11 +00:00
CMD ["crond", "-f", "-L", "/dev/stdout"]