Updated to new main.cnf where nodes are in nodes/
This commit is contained in:
parent
a03bf979a8
commit
cc4da2cd94
@ -36,11 +36,6 @@ RUN apt-get update \
|
|||||||
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
|
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
|
||||||
&& mv /opt/sbbs/text /opt/sbbs/text.orig \
|
&& mv /opt/sbbs/text /opt/sbbs/text.orig \
|
||||||
&& mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.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 {} + \
|
&& 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 \
|
&& 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 \
|
&& apt-get -y autoremove \
|
||||||
@ -61,9 +56,10 @@ ENV SBBSEXEC=/opt/sbbs/exec
|
|||||||
ENV PATH=$PATH:${SBBSEXEC}
|
ENV PATH=$PATH:${SBBSEXEC}
|
||||||
|
|
||||||
COPY start.sh ${SBBSEXEC}/
|
COPY start.sh ${SBBSEXEC}/
|
||||||
|
COPY main.cnf ${SBBSCTRL}/
|
||||||
|
|
||||||
VOLUME [ "/var/lib/zerotier-one" ]
|
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/
|
COPY logrotate.d /etc/logrotate.d/
|
||||||
RUN chmod 644 /etc/logrotate.d/*
|
RUN chmod 644 /etc/logrotate.d/*
|
||||||
|
Loading…
Reference in New Issue
Block a user