add docker files

This commit is contained in:
Nils committed 2021-12-28 04:29:37 +01:00
1 parent a62d199c8b
commit 0c4db69e08
2 files changed
+17

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
FROM alpine:latest
RUN apk update
RUN apk add curl jq
RUN curl -s https://api.github.com/repos/byReqz/probehost2/releases/latest | jq -r '.assets[].browser_download_url' | grep "probehost2" | xargs curl -L -o probehost2
ENTRYPOINT ["/probehost2"]