From 60237f322b5b3e541859e820537036c2dcf28fb7 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Sun, 1 Oct 2017 22:32:52 +0200 Subject: Upgrade znc and fix certificate problems --- images/znc/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'images/znc/Dockerfile') diff --git a/images/znc/Dockerfile b/images/znc/Dockerfile index 6dfec6a..50028d7 100644 --- a/images/znc/Dockerfile +++ b/images/znc/Dockerfile @@ -1,6 +1,6 @@ -FROM alpine:3.5 AS builder +FROM alpine:3.6 AS builder -RUN apk add --no-cache build-base git automake autoconf openssl-dev icu-dev +RUN apk add --no-cache build-base git automake autoconf openssl-dev icu-dev icu-libs RUN git clone --single-branch --depth=1 --recursive https://github.com/znc/znc.git /tmp/znc @@ -18,8 +18,12 @@ RUN cd /tmp/ \ FROM server_runit -RUN apk add --no-cache sudo libcap openssl icu +EXPOSE 80 + +RUN apk add --no-cache sudo libcap openssl icu icu-libs ca-certificates COPY --from=builder /app /app # -S: system, -h: home RUN adduser -S -h /data znc && chmod a+x /data +RUN chown -R znc /data + -- cgit v1.2.3