Update Dockerfile to fetch latest stable release

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-03-22 00:54:20 +02:00
parent 601c4cc1f3
commit c05555b0e9

View File

@@ -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