├── Dockerfile ├── README.md └── hooks └── build /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:jessie 2 | 3 | MAINTAINER Adrian Mouat 4 | RUN apt-get update \ 5 | && apt-get install -y traceroute curl dnsutils netcat-openbsd jq nmap \ 6 | net-tools \ 7 | && rm -rf /var/lib/apt/lists/* 8 | 9 | COPY Dockerfile /Dockerfile 10 | LABEL org.label-schema.docker.dockerfile="/Dockerfile" \ 11 | org.label-schema.vcs-type="Git" \ 12 | org.label-schema.vcs-url="https://github.com/amouat/network-utils-container" 13 | 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Network Utilities Container 2 | =========================== 3 | 4 | Simple container based on Debian with a few network utilities installed, namely: 5 | 6 | - dnsutils 7 | - netcat (openbsd version) 8 | - curl 9 | - traceroute 10 | - jq 11 | - net-tools (arp, ifconfig, netsat, rarp, nameif, route & more) 12 | - nmap 13 | 14 | 15 | -------------------------------------------------------------------------------- /hooks/build: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker build \ 4 | --label org.label-schema.build-date="$(date --rfc-3339=s)" \ 5 | -t $IMAGE_NAME . 6 | 7 | 8 | --------------------------------------------------------------------------------