Remove makenl, update to 3.18a
This commit is contained in:
parent
d1a7de1949
commit
6ce8e626f1
@ -4,9 +4,8 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
VERSION: 3.17c-${ARCH}
|
VERSION: 3.18a-${ARCH}
|
||||||
CACHETAG: build-${ARCH}
|
CACHETAG: build-${ARCH}
|
||||||
DOCKER_DRIVER: overlay
|
|
||||||
DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
27
Dockerfile
27
Dockerfile
@ -1,11 +1,11 @@
|
|||||||
# NAME leenooks/sbbs
|
# NAME leenooks/sbbs
|
||||||
# VERSION 3.17c
|
# VERSION 3.18a
|
||||||
|
|
||||||
FROM debian:stretch-slim
|
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 zoo logrotate libmozjs185-1.0 cron \
|
&& apt-get install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron php-cgi php-fpm \
|
||||||
&& 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/*
|
||||||
@ -14,34 +14,43 @@ RUN apt-get update \
|
|||||||
RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
|
RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
|
||||||
|
|
||||||
# Add in Leenooks' apt repository
|
# Add in Leenooks' apt repository
|
||||||
RUN curl -s http://apt.leenooks.net/setup.sh | sh
|
RUN curl -s http://apt.leenooks.net/buster/setup.sh | sh
|
||||||
|
|
||||||
# Add ZeroTier
|
# Add ZeroTier
|
||||||
RUN echo "deb http://download.zerotier.com/debian/stretch stretch main" > /etc/apt/sources.list.d/zerotier.list
|
RUN echo "deb [trusted=yes] http://download.zerotier.com/debian/buster buster main" > /etc/apt/sources.list.d/zerotier.list
|
||||||
|
|
||||||
# Leenooks Utils
|
# Leenooks Utils
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -yqq --allow-unauthenticated makenl zerotier-one \
|
&& apt-get install -yqq zerotier-one \
|
||||||
|
&& apt-get -y autoremove \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
# Other Utilities
|
||||||
|
RUN echo "deb http://deb.debian.org/debian stretch main contrib" > /etc/apt/sources.list.d/contrib.list
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -yqq libmozjs185-1.0 \
|
||||||
&& 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 libmozjs185-dev cvs wget pkgconf \
|
&& apt-get install -yqq build-essential libnspr4-dev libncurses5-dev libmozjs185-dev cvs wget pkgconf 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 JSINCLUDE=/usr/include/js JSLIB=mozjs185 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 \
|
||||||
&& mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-4] /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/node1 /opt/sbbs/ \
|
||||||
&& ln -sf nodes/node2 /opt/sbbs/ \
|
&& ln -sf nodes/node2 /opt/sbbs/ \
|
||||||
&& ln -sf nodes/node3 /opt/sbbs/ \
|
&& ln -sf nodes/node3 /opt/sbbs/ \
|
||||||
&& ln -sf nodes/node4 /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 {} + \
|
||||||
&& apt-get -y purge build-essential libnspr4-dev libncurses5-dev libmozjs185-dev cvs wget pkgconf \
|
&& SUDO_FORCE_REMOVE=yes apt-get -y purge build-essential libnspr4-dev libncurses5-dev libmozjs185-dev cvs wget pkgconf 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