Update docker and nix setup

This commit is contained in:
Eike Kettner
2020-09-28 01:10:44 +02:00
parent f40eb15e86
commit 13daa99933
7 changed files with 32 additions and 17 deletions

View File

@ -6,10 +6,10 @@ RUN apk add --no-cache unzip curl bash inotify-tools
RUN mkdir -p /opt \
&& cd /opt \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.11.1/docspell-tools-0.11.1.zip \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.12.0/docspell-tools-0.12.0.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del unzip \
&& chmod 755 /opt/docspell-tools-0.11.1/*.sh
&& chmod 755 /opt/docspell-tools-0.12.0/*.sh
ENTRYPOINT ["/opt/docspell-tools-0.11.1/consumedir.sh"]
ENTRYPOINT ["/opt/docspell-tools-0.12.0/consumedir.sh"]