diff options
author | Till Höppner | 2017-10-01 22:32:52 +0200 |
---|---|---|
committer | Till Höppner | 2017-10-01 22:32:52 +0200 |
commit | 60237f322b5b3e541859e820537036c2dcf28fb7 (patch) | |
tree | 8b00526acd5246943d7b5e0fd4104b3184ad37b2 /images | |
parent | dab9c9a8406b96cda3bc03e6c56fae536f89a33f (diff) | |
download | server-60237f322b5b3e541859e820537036c2dcf28fb7.tar.gz server-60237f322b5b3e541859e820537036c2dcf28fb7.tar.xz server-60237f322b5b3e541859e820537036c2dcf28fb7.zip |
Upgrade znc and fix certificate problems
Diffstat (limited to 'images')
-rw-r--r-- | images/znc/Dockerfile | 10 |
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 + |