forked from openshift/network-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.fedora
More file actions
21 lines (20 loc) · 1012 Bytes
/
Dockerfile.fedora
File metadata and controls
21 lines (20 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# This Dockerfile builds the development image of network-tools repo.
#
# NOTE:
#
# This image is only for development environment, so please DO NOT DEPLOY
# this image in any production environment.
#
FROM fedora:latest
RUN yum -y --setopt=tsflags=nodocs install git go nginx jq tcpdump traceroute wireshark net-tools nmap-ncat pciutils strace numactl make conntrack-tools perf iproute iputils && \
yum clean all && rm -rf /var/cache/* && \
curl https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.9.0/openshift-client-linux-4.9.0.tar.gz > /tmp/oc.tar.gz && \
tar xzvf /tmp/oc.tar.gz -C /usr/bin && \
rm /tmp/oc.tar.gz && \
# needed for ovnkube-trace
git clone https://github.com/openshift/ovn-kubernetes.git /usr/bin/ovn-kubernetes && \
pushd /usr/bin/ovn-kubernetes/go-controller && hack/build-go.sh cmd/ovnkube-trace && \
mv _output/go/bin/ovnkube-trace /usr/bin/ovnkube-trace && popd && \
rm -rf /usr/bin/ovn-kubernetes
COPY ./debug-scripts/* /usr/bin/