This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
mystic/Dockerfile

66 lines
2.7 KiB
Docker
Raw Normal View History

# NAME leenooks/mysticbbs
# VERSION 1.12a39-armv7l-extras
2018-09-14 05:27:24 +00:00
# NOTE: ** WHEN UPDATING ** there may be missing files in your data directory
# that are present in the data.tar.gz file.
FROM registry.leenooks.net/leenooks/mysticbbs:1.12a39-armv7l
2018-08-30 06:51:18 +00:00
# Makenl 3.4.6
RUN apt-get update \
&& apt-get install --no-install-recommends --allow-unauthenticated -yqq makenl \
&& rm -rf /var/lib/apt/lists/* /tmp/* #1
## Add Mystic Mods
# Game DBLup - Double-Up! v1.0
2018-08-30 05:13:39 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=DBLUP10.ZIP && \
cd /tmp && \
curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
cd /mystic/ && \
2018-08-30 05:13:39 +00:00
chmod 644 /tmp/*.txt /tmp/*.mps && mv /tmp/sysop.txt docs/mod-dblup-1.0-sysop.txt && \
mv /tmp/doubleup.mps scripts/ && cd scripts && ./mplc doubleup.mps && \
2018-09-14 05:27:24 +00:00
rm -rf /tmp/*
# Utility BLAM - BBS List Admin Manager v2.1
2018-08-30 05:13:39 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=GYBLAM21.ZIP && \
cd /tmp && \
curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
cd /mystic/ && \
2018-08-30 05:13:39 +00:00
chmod 644 /tmp/*.txt /tmp/*.ini /tmp/*.mps && mv /tmp/sysop.txt docs/mod-blam-2.1-sysop.txt && \
mv /tmp/gy-blam.ini docs/mod-blam-2.1-gy-blam.ini && \
mv /tmp/gy-blam.mps scripts/ && cd scripts && ./mplc gy-blam.mps && \
2018-09-14 05:27:24 +00:00
rm -rf /tmp/*
# Utility QRCODE - QR Code for Mystic BBS v1.0
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=xq-qrcode.zip && \
cd /tmp && \
apt-get update && \
apt-get install --no-install-recommends -yqq qrencode && \
curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
cd /mystic/ && \
chmod 644 /tmp/*.txt /tmp/*.mps && mv /tmp/sysop.txt docs/mod-qrcode-1.0-sysop.txt && \
mv /tmp/xq-qrcode.mps scripts/ && cd scripts && ./mplc xq-qrcode.mps && \
rm -rf /var/lib/apt/lists/* /tmp/*
# Utility MOON - Moon Phase v?
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=xq-moon.zip && \
cd /tmp && \
curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
cd /mystic/ && \
chmod 644 /tmp/*.txt /tmp/scripts/*.mps /tmp/scripts/xq-moon/*.asc /tmp/scripts/xq-moon/*.ans /tmp/text/*.ans && mv /tmp/sysop.txt docs/mod-moon-0.0-sysop.txt && \
mv /tmp/scripts/xq-moon.mps scripts/ && cd scripts && ./mplc xq-moon.mps && cd .. && \
gunzip data.tar.gz && mkdir /tmp/data && mv /tmp/text /tmp/data && tar -C /tmp -rf /mystic/data.tar data/text/ansiviewtxt.ans && gzip data.tar && \
mv /tmp/scripts/xq-moon scripts/ && mv scripts/xq-moon/xqmoon_rpi scripts/xq-moon/xqmoon && \
rm -rf /tmp/*
2018-08-30 05:13:39 +00:00
# Game Galactic Dynasty 0.9.1-dev
RUN apt-get update \
&& apt-get install --no-install-recommends --allow-unauthenticated -yqq galacticdynasty \
&& rm -rf /var/lib/apt/lists/* /tmp/* \
&& cd /mystic/docs && mkdir -p doors && cp -pR /usr/local/door/galacticdynasty doors/ \
&& mv doors/galacticdynasty/linmyst.txt mod-galacticdynasty-0.9.1-linmyst.txt