1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/urlwatch/Dockerfile

31 lines
721 B
Docker
Raw Normal View History

2015-07-07 07:44:11 +00:00
#
# Dockerfile for urlwatch
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U ca-certificates \
build-base \
libxml2 \
libxml2-dev \
libxslt \
libxslt-dev \
make \
python-dev \
py-pip \
&& pip install keyring \
lxml \
urlwatch \
2015-07-07 07:54:23 +00:00
pyyaml \
2015-07-07 07:44:11 +00:00
&& apk del build-base \
libxml2-dev \
libxslt-dev \
python-dev \
&& rm -rf /var/cache/apk/* \
2015-07-07 08:05:55 +00:00
&& echo '*/15 * * * * cd ~/.urlwatch && make' | crontab -
2015-07-07 07:44:11 +00:00
COPY urlwatch /root/.urlwatch
CMD ["crond", "-f", "-L", "/dev/stdout"]