Start on a modern ZNC dockerfile

This commit is contained in:
Christine Dodrill 2015-09-20 22:40:07 -07:00
parent 650161ebe1
commit f45c9c3afa
1 changed files with 30 additions and 0 deletions

30
net/znc/Dockerfile Normal file
View File

@ -0,0 +1,30 @@
FROM flitter/init
RUN apt-get update &&\
apt-get install -y \
libssl-dev \
libperl-dev \
libicu-dev \
pkg-config \
tcl8.5-dev \
libsasl2-dev \
build-essential \
g++ \
python3-dev &&\
useradd --create-home znc
USER znc
WORKDIR /home/znc
ENV ZNC_VERSION 1.6.1
RUN mkdir src &&\
cd src &&\
wget http://znc.in/releases/znc-1.6.1.tar.gz &&\
tar xf znc-1.6.1.tar.gz &&\
cd znc-1.6.1 &&\
./configure --enable-python --prefix /home/znc/run &&\
make -j4 &&\
make install