Files
docker-znc/Dockerfile
Jim Myhrberg bfc867af73 Bump version to 1.4-1
Version scheme now follows the ZNC version the container contains. The
format is "[ZNC_VERSION]-[CONTAINER_BUILD_NUMBER]".
2014-05-17 18:04:27 +01:00

20 lines
578 B
Docker

# 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 [""]