Skip to content

Commit 1ef830b

Browse files
committed
Update libraries and images
Signed-off-by: Brent Salisbury <[email protected]>
1 parent a1c4d00 commit 1ef830b

File tree

5 files changed

+28
-3
lines changed

5 files changed

+28
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MAINTAINER Brent Salisbury <[email protected]>
44

55
ADD . /go/src/github.com/nerdalert/nflow-generator
66

7-
RUN go get github.com/Sirupsen/logrus \
7+
RUN go get github.com/sirupsen/logrus \
88
&& go get github.com/jessevdk/go-flags \
99
&& go install github.com/nerdalert/nflow-generator
1010

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ Simply run in a container and pass any arguments at runtime. Below is an example
1212

1313
```
1414
docker run -it --rm networkstatic/nflow-generator --help
15+
# or podman/quay repos
16+
podman run -it --rm /quay.io/networkstatic/nflow-generator --help
1517
```
1618

1719
To generate mock flow data simply add the target IP and port:
1820

1921
```
2022
docker run -it --rm networkstatic/nflow-generator -t <ip> -p <port>
23+
# or podman/quay repos
24+
podman run -it --rm /quay.io/networkstatic/nflow-generator -t <ip> -p <port>
2125
```
2226

2327
### Download the binary
@@ -28,7 +32,7 @@ You can download the Linux binary here [nflow-generator-x86_64-linux](https://gi
2832
Install [Go](http://golang.org/doc/install), then:
2933

3034
git clone https://github.com/nerdalert/nflow-generator.git
31-
cd <dir>
35+
cd nflow-generator
3236
go build
3337

3438
Go build will leave a binary in the root directory that can be run.

go.mod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module github.com/nerdalert/nflow-generator
2+
3+
go 1.12
4+
5+
require (
6+
github.com/jessevdk/go-flags v1.5.0
7+
github.com/sirupsen/logrus v1.8.1
8+
)

go.sum

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc=
4+
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
5+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
6+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
7+
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
8+
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
9+
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
10+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
11+
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
12+
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 h1:EZ2mChiOa8udjfp6rRmswTbtZN/QzUQp4ptM4rnjHvc=
13+
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

nflow_logging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/Sirupsen/logrus"
4+
"github.com/sirupsen/logrus"
55
)
66

77
var log = logrus.New()

0 commit comments

Comments
 (0)