# version 1.4-1 # docker-version 0.11.1 FROM ubuntu:12.04 MAINTAINER Jim Myhrberg "contact@jimeh.me" # We use a bootstrap script to avoid having temporary cache files and build # dependencies being committed and included into the docker image. ADD bootstrap.sh /tmp/ RUN chmod +x /tmp/bootstrap.sh && /tmp/bootstrap.sh RUN useradd znc ADD start-znc /usr/local/bin/ ADD znc.conf.default /src/ RUN chmod 644 /src/znc.conf.default USER znc EXPOSE 6667 ENTRYPOINT ["/usr/local/bin/start-znc"] CMD [""]