Fix location of patch

This commit is contained in:
Deon George 2020-11-23 14:24:20 +11:00
parent 2c731f2bd8
commit 4053b0081e

View File

@ -31,8 +31,8 @@ RUN apt-get update \
&& apt-get install -yqq git build-essential libnspr4-dev libncurses5-dev libncursesw5-dev cvs wget pkgconf libcap2-bin sudo \ && apt-get install -yqq git build-essential libnspr4-dev libncurses5-dev libncursesw5-dev cvs wget pkgconf libcap2-bin sudo \
&& mkdir /opt/sbbs && cd /tmp \ && 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/GNUmakefile \
&& make RELEASE=1 NO_X=1 SBBSDIR=/opt/sbbs install \
&& curl -sL https://gitlab.synchro.net/sbbs/sbbs/-/commit/f6ffda092ff2fadc69f84dfb34c6291c25f30ca4.diff | patch -Rp2 \ && curl -sL https://gitlab.synchro.net/sbbs/sbbs/-/commit/f6ffda092ff2fadc69f84dfb34c6291c25f30ca4.diff | patch -Rp2 \
&& make RELEASE=1 NO_X=1 SBBSDIR=/opt/sbbs install \
&& rm -rf /opt/sbbs/3rdp /opt/sbbs/src \ && rm -rf /opt/sbbs/3rdp /opt/sbbs/src \
&& 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 \