2015-07-07 09:44:11 +02: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 09:54:23 +02:00
|
|
|
pyyaml \
|
2015-07-07 09:44:11 +02:00
|
|
|
&& apk del build-base \
|
|
|
|
libxml2-dev \
|
|
|
|
libxslt-dev \
|
|
|
|
python-dev \
|
|
|
|
&& rm -rf /var/cache/apk/* \
|
2015-07-07 10:05:55 +02:00
|
|
|
&& echo '*/15 * * * * cd ~/.urlwatch && make' | crontab -
|
2015-07-07 09:44:11 +02:00
|
|
|
|
|
|
|
COPY urlwatch /root/.urlwatch
|
|
|
|
|
|
|
|
CMD ["crond", "-f", "-L", "/dev/stdout"]
|