mirror of
https://github.com/jimeh/docker-znc.git
synced 2026-02-19 01:46:42 +00:00
20 lines
577 B
Docker
20 lines
577 B
Docker
# version 0.0.2
|
|
# docker-version 0.7.6
|
|
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 [""]
|