mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Create support as a container
Containerize support.sh Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
parent
3a5f106ec3
commit
9dbf55097a
4 changed files with 52 additions and 0 deletions
|
@ -34,12 +34,14 @@ build-images:
|
|||
docker build -f cmd/diagnostic/Dockerfile.client -t dockereng/network-diagnostic:onlyclient bin/
|
||||
docker build -f cmd/diagnostic/Dockerfile.dind -t dockereng/network-diagnostic:17.12-dind bin/
|
||||
docker build -f cmd/networkdb-test/Dockerfile -t dockereng/e2e-networkdb bin/
|
||||
docker build -t dockereng/network-diagnostic:support.sh support/
|
||||
|
||||
push-images: build-images
|
||||
@echo "🐳 $@"
|
||||
docker push dockereng/network-diagnostic:onlyclient
|
||||
docker push dockereng/network-diagnostic:17.12-dind
|
||||
docker push dockereng/e2e-networkdb
|
||||
docker push dockereng/network-diagnostic:support.sh
|
||||
|
||||
clean:
|
||||
@echo "🐳 $@"
|
||||
|
|
49
libnetwork/support/Dockerfile
Normal file
49
libnetwork/support/Dockerfile
Normal file
|
@ -0,0 +1,49 @@
|
|||
FROM docker:18-dind
|
||||
|
||||
RUN set -ex \
|
||||
&& echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
|
||||
&& echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk update \
|
||||
&& apk add --no-cache \
|
||||
tcpdump \
|
||||
bridge-utils \
|
||||
netcat-openbsd \
|
||||
util-linux \
|
||||
iptables \
|
||||
iputils \
|
||||
iproute2 \
|
||||
iftop \
|
||||
drill \
|
||||
apache2-utils \
|
||||
strace \
|
||||
curl \
|
||||
ethtool \
|
||||
ipvsadm \
|
||||
ngrep \
|
||||
iperf \
|
||||
nmap \
|
||||
nmap-nping \
|
||||
conntrack-tools \
|
||||
socat \
|
||||
busybox-extras \
|
||||
tcptraceroute \
|
||||
mtr \
|
||||
fping \
|
||||
liboping \
|
||||
iptraf-ng \
|
||||
dhcping \
|
||||
nmap-nping \
|
||||
net-snmp-tools \
|
||||
python2 \
|
||||
py2-virtualenv \
|
||||
py-crypto \
|
||||
scapy \
|
||||
vim \
|
||||
bird \
|
||||
bash \
|
||||
bind-tools
|
||||
|
||||
WORKDIR /bin
|
||||
COPY support.sh .
|
||||
|
||||
CMD /bin/support.sh
|
1
libnetwork/support/README
Normal file
1
libnetwork/support/README
Normal file
|
@ -0,0 +1 @@
|
|||
Usage: docker run -v /var/run:/var/run --network host --privileged dockereng/network-diagnostic:support.sh
|
Loading…
Reference in a new issue