summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Höppner2017-10-01 22:32:52 +0200
committerTill Höppner2017-10-01 22:32:52 +0200
commit60237f322b5b3e541859e820537036c2dcf28fb7 (patch)
tree8b00526acd5246943d7b5e0fd4104b3184ad37b2
parentdab9c9a8406b96cda3bc03e6c56fae536f89a33f (diff)
downloadserver-60237f322b5b3e541859e820537036c2dcf28fb7.tar.gz
server-60237f322b5b3e541859e820537036c2dcf28fb7.tar.xz
server-60237f322b5b3e541859e820537036c2dcf28fb7.zip
Upgrade znc and fix certificate problems
-rw-r--r--images/znc/Dockerfile10
1 files changed, 7 insertions, 3 deletions
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
+