From 39116f34fa92cb9c9b170c60bfb32411d408a582 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 1 May 2018 22:45:42 +0100 Subject: [PATCH] ZNC 1.7.0 --- full/Dockerfile | 1 + slim/Dockerfile | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/full/Dockerfile b/full/Dockerfile index ef594c0..cc759fa 100644 --- a/full/Dockerfile +++ b/full/Dockerfile @@ -4,6 +4,7 @@ FROM znc:slim RUN set -x \ && apk add --no-cache \ build-base \ + cmake \ icu-dev \ libressl-dev \ perl \ diff --git a/slim/Dockerfile b/slim/Dockerfile index cc53668..3e1280f 100644 --- a/slim/Dockerfile +++ b/slim/Dockerfile @@ -7,15 +7,16 @@ ENV GPG_KEY D5823CACB477191CAC0075555AE420CC0209989E # musl silently doesn't support AI_ADDRCONFIG yet, and ZNC doesn't support Happy Eyeballs yet. # Together they cause very slow connection. So for now IPv6 is disabled here. -ARG CONFIGUREFLAGS="--prefix=/opt/znc --enable-cyrus --enable-perl --enable-python --disable-ipv6" +ARG CMAKEFLAGS="-DCMAKE_INSTALL_PREFIX=/opt/znc -DWANT_CYRUS=YES -DWANT_PERL=YES -DWANT_PYTHON=YES -DWANT_IPV6=NO" ARG MAKEFLAGS="" -ENV ZNC_VERSION 1.6.6 +ENV ZNC_VERSION 1.7.0 RUN set -x \ && adduser -S znc \ && addgroup -S znc \ && apk add --no-cache --virtual runtime-dependencies \ + boost \ ca-certificates \ cyrus-sasl \ icu \ @@ -23,9 +24,12 @@ RUN set -x \ tini \ tzdata \ && apk add --no-cache --virtual build-dependencies \ + boost-dev \ build-base \ + cmake \ curl \ cyrus-sasl-dev \ + gettext \ gnupg \ icu-dev \ libressl-dev \ @@ -40,7 +44,7 @@ RUN set -x \ && rm -rf "$GNUPGHOME" \ && tar -zxf znc.tgz --strip-components=1 \ && mkdir build && cd build \ - && ../configure ${CONFIGUREFLAGS} \ + && cmake .. ${CMAKEFLAGS} \ && make $MAKEFLAGS \ && make install \ && apk del build-dependencies \