1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/urlwatch/Dockerfile

34 lines
797 B
Docker
Raw Normal View History

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 \
2015-07-07 11:06:08 +02:00
&& pip install futures \
keyring \
2015-07-07 09:44:11 +02:00
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
2015-07-07 11:08:38 +02:00
VOLUME /root/.urlwatch
WORKDIR /root/.urlwatch
2015-07-07 09:44:11 +02:00
CMD ["crond", "-f", "-L", "/dev/stdout"]