Update Dockerfile to fetch latest stable release
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -17,8 +17,9 @@ RUN apk add --no-cache \
|
|||||||
ncurses-static \
|
ncurses-static \
|
||||||
tzdata
|
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
|
WORKDIR /goaccess
|
||||||
|
RUN git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
|
||||||
RUN autoreconf -fiv
|
RUN autoreconf -fiv
|
||||||
RUN CC="clang" CFLAGS="-O3 -static" LIBS="$(pkg-config --libs openssl)" ./configure --prefix="" --enable-utf8 --with-openssl --enable-geoip=mmdb
|
RUN CC="clang" CFLAGS="-O3 -static" LIBS="$(pkg-config --libs openssl)" ./configure --prefix="" --enable-utf8 --with-openssl --enable-geoip=mmdb
|
||||||
|
Reference in New Issue
Block a user