sbbs (latest-x86_64)
Published 2025-01-05 01:06:06 +00:00 by deon
Installation
docker pull gitea.dege.au/bbs/sbbs:latest-x86_64
sha256:a9983da529fc9f852fffbf4837199ef675de57d32f3c6c7efcceb4a1a59f599a
Image Layers
# debian.sh --arch 'amd64' out/ 'bullseye' '@1734912000' |
RUN /bin/sh -c apt-get update && apt-get install -yqq curl supervisor procps less zip unzip arj unrar-free lhasa arc logrotate cron && apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
RUN /bin/sh -c ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime # buildkit |
RUN /bin/sh -c 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/main/sbbs/-/raw/master/install/install-sbbs.mk && git clone https://gitlab.synchro.net/main/sbbs.git /opt/sbbs/repo && cd /tmp && 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 && mv /opt/sbbs/xtrn /opt/sbbs/xtrn.orig && mv /opt/sbbs/web /opt/sbbs/web.orig && mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.orig && find /opt/sbbs -name CVS -type d -exec rm -rf {} + && SUDO_FORCE_REMOVE=yes apt-get -y purge git build-essential autoconf2.13 libnspr4-dev libncurses5-dev libarchive-dev libncursesw5-dev wget pkgconf libcap2-bin sudo && apt-get -y autoremove && apt-get clean && rm -rf /opt/sbbs/repo && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
RUN /bin/sh -c apt-get update && apt-get install -yqq composer php-cgi php-fpm php-gd php-sqlite3 php-xml && apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
WORKDIR /opt/sbbs |
ENV SBBSCTRL=/opt/sbbs/ctrl |
ENV SBBSEXEC=/opt/sbbs/exec |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/sbbs/exec |
COPY start.sh /opt/sbbs/exec/ # buildkit |
COPY doorparty.js /opt/sbbs/exec/ # buildkit |
COPY main.cnf /opt/sbbs/ctrl.orig/ # buildkit |
VOLUME [/opt/sbbs/data /opt/sbbs/ctrl /opt/sbbs/fido /opt/sbbs/mods /opt/sbbs/text /opt/sbbs/web] |
COPY logrotate.d /etc/logrotate.d/ # buildkit |
RUN /bin/sh -c chmod 644 /etc/logrotate.d/* # buildkit |
COPY supervisord.d /etc/supervisor/conf.d/ # buildkit |
COPY docker/init-docker /sbin/init-docker # buildkit |
ENTRYPOINT ["/sbin/init-docker"] |
RUN /bin/sh -c sed -i -e 's#=../node\([0-9]\+\)/#=../nodes/node\1/#' /opt/sbbs/ctrl.orig/main.ini # buildkit |
Details
2025-01-05 01:06:06 +00:00
Versions (2)
View all
Container
14
OCI / Docker
linux/amd64
153 MiB
latest
2025-01-05
latest-x86_64
2025-01-05