mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-14 11:23:13 +00:00
add iputils to dockerfile
This commit is contained in:
parent
bc827f5a8d
commit
9c2e013720
@ -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
|
RUN apk add mtr iputils
|
||||||
COPY --from=builder /build/probehost2 /
|
COPY --from=builder /build/probehost2 /
|
||||||
RUN touch /probehost2.log
|
RUN touch /probehost2.log
|
||||||
CMD ["/probehost2"]
|
CMD ["/probehost2"]
|
||||||
|
Loading…
Reference in New Issue
Block a user