diff --git a/Dockerfile b/Dockerfile index a9e5e35..a6dd3df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,15 +6,16 @@ RUN useradd --create-home --groups sudo admin ; echo "admin:admin" | chpasswd ; # ZNC user RUN useradd --create-home znc ; echo "znc:znc" | chpasswd -# Install bind and vim +# Install sshd, znc, and znc extras RUN mkdir /var/run/sshd ; apt-get update ; apt-get install -y supervisor vim openssh-server znc znc-python znc-dev dpkg-dev # Get ZNC source RUN su -c 'cd /home/znc ; apt-get source znc' znc +# Install startup stuff COPY daemons.conf /etc/supervisor/conf.d/daemons.conf COPY start /start -#EXPOSE 53/udp -EXPOSE 22 RUN chmod +x /start +EXPOSE 22 +