gns3-registry/docker/ipterm/base/Dockerfile

30 lines
1023 B
Docker
Raw Normal View History

2016-06-16 07:59:15 +00:00
# docker base image for basic networking tools
FROM debian:jessie
RUN set -ex \
&& apt-get update \
#
# compile and install mtools (msend & mreceive)
#
&& dpkg-query -f '${binary:Package}\n' -W | sort > base_packages \
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
gcc libc6-dev make curl ca-certificates \
&& curl -OL https://github.com/troglobit/mtools/releases/download/v2.3/mtools-2.3.tar.gz \
&& tar xfz mtools-2.3.tar.gz \
&& cd mtools-2.3 \
&& make \
&& make install \
&& cd .. \
&& rm -r mtools-2.3* \
&& dpkg-query -f '${binary:Package}\n' -W | sort > packages \
&& DEBIAN_FRONTEND=noninteractive apt-get -y purge \
`comm -13 base_packages packages` \
&& rm -f base_packages packages \
#
# install remaining tools
#
&& DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
net-tools tcpdump telnet traceroute iperf3 openssh-client vim-tiny \
&& rm -rf /var/lib/apt/lists/*