mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-24 15:34:54 +00:00
update docker files
This commit is contained in:
parent
188dc88d12
commit
d87f9b568b
@ -6,7 +6,7 @@ RUN CGO_ENABLED=0 go build -o probehost2
|
|||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add mtr iputils
|
RUN apk add mtr iputils nmap-nping
|
||||||
COPY --from=builder /build/probehost2 /
|
COPY --from=builder /build/probehost2 /
|
||||||
RUN touch /probehost2.log
|
RUN touch /probehost2.log
|
||||||
CMD ["/probehost2"]
|
CMD ["/probehost2"]
|
||||||
|
@ -3,7 +3,7 @@ version: '2.3'
|
|||||||
services:
|
services:
|
||||||
probehost2:
|
probehost2:
|
||||||
container_name: probehost2
|
container_name: probehost2
|
||||||
image: byreqz/probehost2:latest
|
image: reg.nils.lol/byreqz/probehost2:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- PROBEHOST_LOGPATH=/probehost2.log
|
- PROBEHOST_LOGPATH=/probehost2.log
|
||||||
|
Loading…
Reference in New Issue
Block a user