summaryrefslogtreecommitdiff
path: root/images
diff options
context:
space:
mode:
Diffstat (limited to 'images')
-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
+