mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-21 14:23:15 +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
|
||||
RUN apk update
|
||||
RUN apk add mtr iputils
|
||||
RUN apk add mtr iputils nmap-nping
|
||||
COPY --from=builder /build/probehost2 /
|
||||
RUN touch /probehost2.log
|
||||
CMD ["/probehost2"]
|
||||
|
@ -3,7 +3,7 @@ version: '2.3'
|
||||
services:
|
||||
probehost2:
|
||||
container_name: probehost2
|
||||
image: byreqz/probehost2:latest
|
||||
image: reg.nils.lol/byreqz/probehost2:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PROBEHOST_LOGPATH=/probehost2.log
|
||||
|
Loading…
Reference in New Issue
Block a user