docspell/docker/consumedir.dockerfile

16 lines
443 B
Plaintext
Raw Normal View History

FROM alpine:latest
LABEL maintainer="eikek0 <eike@docspell.org>"
RUN apk add --no-cache unzip curl bash inotify-tools
RUN mkdir -p /opt \
&& cd /opt \
2020-08-01 15:22:13 +00:00
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.9.0/docspell-tools-0.9.0.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip \
2020-08-01 15:22:13 +00:00
&& chmod 755 /opt/docspell-tools-0.9.0/*.sh
2020-08-01 15:22:13 +00:00
ENTRYPOINT ["/opt/docspell-tools-0.9.0/consumedir.sh"]