This commit is contained in:
Jessica Frazelle 2014-09-12 09:30:09 -07:00
parent b6a9a32c0b
commit 4ab000fcfc
2 changed files with 52 additions and 0 deletions

26
.gitignore vendored Normal file
View File

@ -0,0 +1,26 @@
###Linux###
*~
# KDE directory preferences
.directory
###OSX###
.DS_Store
.AppleDouble
.LSOverride
# Icon must ends with two \r.
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
znc/conf/

26
znc/Dockerfile Normal file
View File

@ -0,0 +1,26 @@
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
build-essential \
libssl-dev \
libperl-dev \
pkg-config \
curl \
--no-install-recommends
# get the source
RUN mkdir /znc-tmp
RUN curl -sSL http://znc.in/releases/znc-latest.tar.gz | tar -v -C /znc-tmp -xz
RUN mv /znc-tmp/znc* /znc; rm -rf /znc-tmp
# install it
RUN cd /znc; ./configure; make; make install
# make basic config
# RUN znc --makeconf
# add local config
# ADD conf /.znc
# CMD [ "znc", "-f", "-r" ]