Skip to content

Commit

Permalink
Update to nudump-1.7.0.1 - build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phaag committed Sep 30, 2022
1 parent 1fb8604 commit ecb8d6b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
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
27 changes: 27 additions & 0 deletions extra/docker/Dockerfile.alpine
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"]

0 comments on commit ecb8d6b

Please sign in to comment.