aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/test-containers/trafficgen-pods
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-22 18:07:01 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-22 18:08:41 +0530
commit01e5b8c6ee5ec743962301b1337219b5e3850ab5 (patch)
treeaf4c75a359ab9a2030f5d7c2f05da4ea3cee25a9 /tools/docker/test-containers/trafficgen-pods
parent24e68cf441d94ba09a13f21fdfc994d4a14dfde0 (diff)
TOOLS: Fix bugs in container builds.
There are bugs in l2l3fwd and pktgen dockerfiles. This patch fixes it. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I15cfb74d2bf26fbe9e7c2c9b147764fa7cec24c8
Diffstat (limited to 'tools/docker/test-containers/trafficgen-pods')
-rw-r--r--tools/docker/test-containers/trafficgen-pods/pktgen/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker/test-containers/trafficgen-pods/pktgen/Dockerfile b/tools/docker/test-containers/trafficgen-pods/pktgen/Dockerfile
index 8288cf63..44bed3e2 100644
--- a/tools/docker/test-containers/trafficgen-pods/pktgen/Dockerfile
+++ b/tools/docker/test-containers/trafficgen-pods/pktgen/Dockerfile
@@ -13,7 +13,7 @@ RUN yum install -y pciutils iproute; yum clean all
## Download and Build APP-NetUtil
##
WORKDIR /root/go/src/
-RUN go get github.com/openshift/app-netutil 2>&1 > /tmp/UserspaceDockerBuild.log || echo "Can ignore no GO files."
+RUN mkdir github.com && cd github.com && mkdir openshift && cd openshift && git clone https://github.com/openshift/app-netutil
WORKDIR /root/go/src/github.com/openshift/app-netutil
RUN make c_sample
RUN cp bin/libnetutil_api.so /lib64/libnetutil_api.so; cp bin/libnetutil_api.h /usr/include/libnetutil_api.h