feat: add Dockerfile
This commit is contained in:
parent
fb4b3f1796
commit
c8d84cd0e9
|
@ -0,0 +1,9 @@
|
||||||
|
FROM alpine
|
||||||
|
|
||||||
|
RUN set -ex; \
|
||||||
|
apk update --no-cache; \
|
||||||
|
apk add --no-cache -t .net-tools \
|
||||||
|
bash bash-completion bind-tools busybox-extras coreutils iproute2 iputils mtr net-tools \
|
||||||
|
netcat-openbsd tcpdump whois
|
||||||
|
|
||||||
|
ENTRYPOINT ["/bin/bash"]
|
10
README.md
10
README.md
|
@ -1,3 +1,11 @@
|
||||||
# docker-alpine-net-tools
|
# docker-alpine-net-tools
|
||||||
|
|
||||||
A docker image that contains basic network tools, based on `alpine:latest`.
|
A docker image that contains basic network tools, based on `alpine:latest`.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker pull kanna5/alpine:net-tools
|
||||||
|
|
||||||
|
docker run -it kanna5/alpine:net-tools
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue