diff --git a/Dockerfile b/Dockerfile index 32a9f81..d37e8ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,11 +44,6 @@ RUN apt-get update \ && mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \ && mv /opt/sbbs/text /opt/sbbs/text.orig \ && mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.orig \ - && ln -sf nodes/node1 /opt/sbbs/ \ - && ln -sf nodes/node2 /opt/sbbs/ \ - && ln -sf nodes/node3 /opt/sbbs/ \ - && ln -sf nodes/node4 /opt/sbbs/ \ - && ln -sf nodes/node5 /opt/sbbs/ \ && find /opt/sbbs -name CVS -type d -exec rm -rf {} + \ && SUDO_FORCE_REMOVE=yes apt-get -y purge git build-essential libnspr4-dev libncurses5-dev libncursesw5-dev cvs wget pkgconf libcap2-bin sudo \ && apt-get -y autoremove \ @@ -69,9 +64,10 @@ ENV SBBSEXEC=/opt/sbbs/exec ENV PATH=$PATH:${SBBSEXEC} COPY start.sh ${SBBSEXEC}/ +COPY main.cnf ${SBBSCTRL}/ VOLUME [ "/var/lib/zerotier-one" ] -VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/nodes","/opt/sbbs/fido","/opt/sbbs/text" ] +VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/fido","/opt/sbbs/text" ] COPY logrotate.d /etc/logrotate.d/ RUN chmod 644 /etc/logrotate.d/* diff --git a/main.cnf b/main.cnf new file mode 100644 index 0000000..91555e1 Binary files /dev/null and b/main.cnf differ