From c05555b0e9c5aed090deb4496c3dd7b9497f317c Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Wed, 22 Mar 2023 00:54:20 +0200 Subject: [PATCH] Update Dockerfile to fetch latest stable release Signed-off-by: Nikolaos Karaolidis --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c42ba1..15fbfac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,9 @@ RUN apk add --no-cache \ ncurses-static \ tzdata -RUN git clone https://github.com/allinurl/goaccess.git /goaccess --depth 1 +RUN git clone https://github.com/allinurl/goaccess.git /goaccess WORKDIR /goaccess +RUN git checkout $(git describe --tags `git rev-list --tags --max-count=1`) RUN autoreconf -fiv RUN CC="clang" CFLAGS="-O3 -static" LIBS="$(pkg-config --libs openssl)" ./configure --prefix="" --enable-utf8 --with-openssl --enable-geoip=mmdb