mirror of
https://github.com/drone-plugins/drone-diagnostics.git
synced 2026-06-04 10:15:12 +08:00
(feat) add dig command (#3)
This commit is contained in:
@@ -10,6 +10,7 @@ Installed tools:
|
||||
|
||||
- ping
|
||||
- traceroute
|
||||
- dig
|
||||
|
||||
### Example 1
|
||||
|
||||
@@ -30,6 +31,7 @@ steps:
|
||||
- env
|
||||
- ping www.github.com -w 5
|
||||
- traceroute -T -p 443 www.github.com
|
||||
- dig www.apple.com
|
||||
- echo "end of test"
|
||||
```
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y traceroute iputils-ping
|
||||
RUN apt-get install -y traceroute iputils-ping bind9-dnsutils
|
||||
ENTRYPOINT /bin/bash
|
||||
|
||||
Reference in New Issue
Block a user