f3c9905a9f
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
12 lines
387 B
Docker
12 lines
387 B
Docker
FROM alpine
|
|
|
|
RUN apk add curl jq \
|
|
&& latest_tag=$(curl -Ls https://api.github.com/repos/nextcloud/notify_push/releases/latest | jq -r '.tag_name') \
|
|
&& wget https://github.com/nextcloud/notify_push/releases/download/${latest_tag}/notify_push-`uname -m`-unknown-linux-musl -O /notify_push \
|
|
&& chmod +x /notify_push \
|
|
&& /notify_push --version
|
|
|
|
EXPOSE 7867
|
|
|
|
CMD ["/notify_push"]
|