-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to nudump-1.7.0.1 - build issues
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
2022-09-30 | ||
- nfdump-1.7.0.1 - fix build issues | ||
- Add docker file for alpine Linux | ||
- Update docker file for ubuntu | ||
- Fix build issues on various Linuxes | ||
|
||
2022-09-28 | ||
- nfdump-1.7.0 - unicorn released |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM alpine:3 | ||
|
||
ARG NFDUMP_VERSION=1.7.0.1 | ||
|
||
WORKDIR /tmp | ||
|
||
ADD https://github.com/phaag/nfdump/archive/refs/tags/v.$NFDUMP_VERSION.tar.gz /tmp | ||
RUN \ | ||
apk add --no-cache build-base gcc abuild binutils binutils-doc gcc-doc make && | ||
apk add --no-cache libtool bzip2-dev libpcap-dev flex bison && | ||
apk add --no-cache autoconf automake m4 pkgconfig | ||
|
||
RUN \ | ||
tar xfz v.$NFDUMP_VERSION.tar.gz && | ||
cd /tmp/nfdump-v.$NFDUMP_VERSION && | ||
./autogen.sh && | ||
./configure --enable-maxmind --enable-nfpcapd --enable-sflow=yes && | ||
make && | ||
cd /tmp/nfdump-v.$NFDUMP_VERSION && make install && | ||
cd .. && | ||
rm -rf nfdump-v.$NFDUMP_VERSION && | ||
rm /tmp/v.$NFDUMP_VERSION.tar.gz && | ||
apk del build-deps | ||
|
||
VOLUME /data | ||
|
||
CMD ["nfcapd", "-w", "/data", "-S", "1", "-y", "-p", "9999"] |