Update to build since there is no GNUmakefile anymore

This commit is contained in:
Deon George 2024-12-23 11:47:54 +11:00
parent ffae70dabb
commit 491a0f1be8

View File

@ -26,10 +26,10 @@ RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
RUN apt-get update \
&& apt-get install -yqq git build-essential autoconf2.13 libnspr4-dev libncurses5-dev libncursesw5-dev libarchive-dev wget python2.7 pkgconf libcap2-bin sudo libarchive13 libnspr4 \
&& mkdir /opt/sbbs && cd /tmp \
&& wget https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/GNUmakefile \
&& wget https://gitlab.synchro.net/sbbs/sbbs/-/raw/master/install/install-sbbs.mk \
&& git clone https://gitlab.com/SynchronetBBS/sbbs.git /opt/sbbs/repo \
&& cd /tmp \
&& make RELEASE=1 NO_X=1 SBBSDIR=/opt/sbbs install \
&& make -f install-sbbs.mk RELEASE=1 NO_X=1 SBBSDIR=/opt/sbbs \
&& rm -rf /opt/sbbs/3rdp /opt/sbbs/src \
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
&& mv /opt/sbbs/text /opt/sbbs/text.orig \