probehost2/docker/Dockerfile

7 lines
250 B
Docker
Raw Normal View History

2021-12-28 03:29:37 +00:00
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"]