mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
31 lines
717 B
Docker
31 lines
717 B
Docker
#
|
|
# 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 \
|
|
yaml \
|
|
&& apk del build-base \
|
|
libxml2-dev \
|
|
libxslt-dev \
|
|
python-dev \
|
|
&& rm -rf /var/cache/apk/* \
|
|
&& echo '*/15 * * * * cd ~/.urlwatch && make' | crontab
|
|
|
|
COPY urlwatch /root/.urlwatch
|
|
|
|
CMD ["crond", "-f", "-L", "/dev/stdout"]
|