feat: add Dockerfile

This commit is contained in:
Yiyang Kang 2022-05-19 13:48:09 +08:00
parent fb4b3f1796
commit c8d84cd0e9
Signed by: kkyy
GPG Key ID: 80FD317ECAF06CC3
2 changed files with 18 additions and 1 deletions

9
Dockerfile Normal file
View File

@ -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"]

View File

@ -1,3 +1,11 @@
# 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
```