GNS3 Docker Images
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. # docker base image for basic networking tools
  2. FROM debian:stretch-slim
  3. RUN set -e -x \
  4. && export DEBIAN_FRONTEND=noninteractive \
  5. && apt-get update \
  6. && apt-get -y --no-install-recommends install \
  7. curl ca-certificates \
  8. #
  9. # compile and install mtools (msend & mreceive)
  10. #
  11. && dpkg-query -f '${binary:Package}\n' -W | sort > /tmp/base_packages \
  12. && apt-get -y --no-install-recommends install \
  13. gcc libc6-dev make \
  14. && curl -s -S -L https://github.com/troglobit/mtools/archive/v2.3.tar.gz | tar xfz - \
  15. && cd mtools* \
  16. && make \
  17. && make install \
  18. && mv /usr/local/sbin/mreceive /usr/local/sbin/msend /usr/local/bin/ \
  19. && cd .. \
  20. && rm -r mtools* \
  21. && dpkg-query -f '${binary:Package}\n' -W | sort > /tmp/packages \
  22. && comm -13 /tmp/base_packages /tmp/packages | xargs apt-get -y purge \
  23. && rm -f /tmp/base_packages /tmp/packages \
  24. #
  25. # install remaining tools
  26. #
  27. && apt-get -y --no-install-recommends install \
  28. dumb-init iperf3 knot-host mtr-tiny openssh-client socat tcpdump \
  29. net-tools iproute2 ifupdown isc-dhcp-client inetutils-ping \
  30. telnet traceroute procps nano vim-tiny \
  31. && rm -rf /var/lib/apt/lists/* \