diff --git a/ChangeLog b/ChangeLog index 24249a0a..26e5aaa9 100755 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/extra/docker/Dockerfile.alpine b/extra/docker/Dockerfile.alpine new file mode 100644 index 00000000..26c53b26 --- /dev/null +++ b/extra/docker/Dockerfile.alpine @@ -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"]