Add tcpdump to the container image 59/1059/3
authorRoni Riska <roni.riska@nokia.com>
Thu, 3 Oct 2019 09:16:09 +0000 (12:16 +0300)
committerRoni Riska <roni.riska@nokia.com>
Mon, 7 Oct 2019 10:47:13 +0000 (13:47 +0300)
The tcpdump can be used in container debugging.

Change-Id: I93e2b8b1582d900a1631c875c1d8efa0ec54bed1
Signed-off-by: Roni Riska <roni.riska@nokia.com>
Dockerfile
container-tag.yaml
go.mod
go.sum

index 9c8a43f..a481f6d 100644 (file)
@@ -50,7 +50,8 @@ FROM ubuntu:18.04
 RUN apt-get update; apt-get install -y \
     iputils-ping \
     net-tools \
-    curl
+    curl \
+    tcpdump
 
 # Create the configuration directory for ves agent
 RUN mkdir -p /etc/ves-agent
index 0b53be2..ffc2a6e 100644 (file)
@@ -1,4 +1,4 @@
 # The Jenkins job uses this string for the tag in the image name
 # for example nexus3.o-ran-sc.org:10004/my-image-name:0.0.1
 ---
-tag: 0.0.7
+tag: 0.0.8
diff --git a/go.mod b/go.mod
index f8a7354..10cf8df 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -4,10 +4,7 @@ go 1.12
 
 require (
        gerrit.o-ran-sc.org/r/com/golog.git v0.0.1
-       github.com/google/go-cmp v0.3.0 // indirect
-       github.com/kr/pty v1.1.3 // indirect
-       github.com/markbates/deplist v1.0.5 // indirect
+       github.com/davecgh/go-spew v1.1.1 // indirect
        github.com/stretchr/testify v1.3.0
        gopkg.in/yaml.v2 v2.2.2
-       gotest.tools v2.2.0+incompatible // indirect
 )
diff --git a/go.sum b/go.sum
index 1841876..94304a2 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -3,18 +3,12 @@ gerrit.o-ran-sc.org/r/com/golog.git v0.0.1/go.mod h1:b8YB31U8/4iRpABioeSzGi/YMzO
 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
-github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
-github.com/markbates/deplist v1.0.5/go.mod h1:gRRbPbbuA8TmMiRvaOzUlRfzfjeCCBqX2A6arxN01MM=
-github.com/markbates/oncer v0.0.0-20180924034138-723ad0170a46/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE=
-github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
 github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
 gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=