Added sqlite and xml php libraries
Change to build libmozjs
This commit is contained in:
parent
6a13bd0be7
commit
530d917267
11
Dockerfile
11
Dockerfile
@ -5,7 +5,8 @@ FROM debian:buster-slim
|
|||||||
|
|
||||||
# Base utilities
|
# Base utilities
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron php-cgi php-fpm \
|
&& apt-get install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron libnspr4 \
|
||||||
|
php-cgi php-fpm php-sqlite3 php-xml \
|
||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
@ -29,17 +30,17 @@ RUN apt-get update \
|
|||||||
# Other Utilities
|
# Other Utilities
|
||||||
RUN echo "deb http://deb.debian.org/debian stretch main contrib" > /etc/apt/sources.list.d/contrib.list
|
RUN echo "deb http://deb.debian.org/debian stretch main contrib" > /etc/apt/sources.list.d/contrib.list
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -yqq dosemu libmozjs185-1.0 \
|
&& apt-get install -yqq dosemu \
|
||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
# Build SBBS
|
# Build SBBS
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -yqq build-essential libnspr4-dev libncurses5-dev libncursesw5-dev libmozjs185-dev cvs wget pkgconf libcap2-bin sudo \
|
&& apt-get install -yqq 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 http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/GNUmakefile \
|
&& wget http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/GNUmakefile \
|
||||||
&& make RELEASE=1 USE_DOSEMU=1 NO_X=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185 SBBSDIR=/opt/sbbs install \
|
&& make RELEASE=1 USE_DOSEMU=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 \
|
||||||
@ -50,7 +51,7 @@ RUN apt-get update \
|
|||||||
&& ln -sf nodes/node4 /opt/sbbs/ \
|
&& ln -sf nodes/node4 /opt/sbbs/ \
|
||||||
&& ln -sf nodes/node5 /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 build-essential libnspr4-dev libncurses5-dev libncursesw5-dev libmozjs185-dev cvs wget pkgconf libcap2-bin sudo \
|
&& SUDO_FORCE_REMOVE=yes apt-get -y purge build-essential libnspr4-dev libncurses5-dev libncursesw5-dev cvs wget pkgconf libcap2-bin sudo \
|
||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
Loading…
Reference in New Issue
Block a user