Switched to node builder

This commit is contained in:
Jonathan Ervine
2020-07-21 22:31:06 +08:00
parent 7f15e9d076
commit 5ddec20d0b
3 changed files with 44 additions and 26 deletions
+4 -11
View File
@@ -1,22 +1,17 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/library/x86_64/alpine/alpine-3.11
FROM harbor.ervine.dev/library/x86_64/alpine/alpine:3.12
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
# Install updates
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm' \
ZNC_USER='znc' \
ZNC_GROUP='znc' \
ZNC_UID='1003' \
ZNC_GID='1003'
TERM='xterm'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk update && \
apk -U upgrade && \
apk -U add \
znc
apk -U upgrade --ignore base-layout && \
apk -U add znc
ADD UTC /etc/localtime
@@ -26,6 +21,4 @@ EXPOSE 6667 8080
VOLUME /config
USER $ZNC_USER
CMD [ "/usr/bin/znc", "-d", "/config/", "-f" ]