25 lines
547 B
Docker
25 lines
547 B
Docker
# Base on latest (edge) alpine image
|
|
FROM harbor.ervine.dev/library/x86_64/alpine/alpine:3.13
|
|
|
|
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
|
|
|
|
# Install updates
|
|
ENV LANG='en_US.UTF-8' \
|
|
LANGUAGE='en_US.UTF-8' \
|
|
TERM='xterm'
|
|
|
|
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
|
|
apk update && \
|
|
apk -U upgrade --ignore alpine-baselayout && \
|
|
apk -U add znc
|
|
|
|
ADD UTC /etc/localtime
|
|
|
|
RUN rm -rf /var/cache/apk/*
|
|
|
|
EXPOSE 6667 8080
|
|
|
|
VOLUME /config
|
|
|
|
CMD [ "/usr/bin/znc", "-d", "/config/", "-f" ]
|