108 lines
4.6 KiB
Docker
108 lines
4.6 KiB
Docker
# NAME leenooks/mysticbbs
|
|
# VERSION 1.12a39-armv7l-extras
|
|
|
|
# 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
|
|
|
|
# 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
|
|
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=DBLUP10.ZIP && \
|
|
cd /tmp && \
|
|
curl -O ${SOURCE_URL}/${FILE} && \
|
|
unzip ${FILE} && \
|
|
cd /mystic/ && \
|
|
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 && \
|
|
rm -rf /tmp/*
|
|
|
|
# Utility BLAM - BBS List Admin Manager v2.1
|
|
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=GYBLAM21.ZIP && \
|
|
cd /tmp && \
|
|
curl -O ${SOURCE_URL}/${FILE} && \
|
|
unzip ${FILE} && \
|
|
cd /mystic/ && \
|
|
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 && \
|
|
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/*
|
|
|
|
# Utility USERBIRTHDAYS - Today's User Birthdays v2
|
|
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=dm-birthv2.zip && \
|
|
cd /tmp && \
|
|
curl -O ${SOURCE_URL}/${FILE} && \
|
|
unzip ${FILE} && \
|
|
cd /mystic/ && \
|
|
chmod 644 /tmp/*.doc /tmp/*.mps && mv /tmp/dm-birth.doc docs/mod-dmbirth-2.0-sysop.txt && \
|
|
mv /tmp/dm-birth.mps scripts/ && cd scripts && ./mplc dm-birth.mps && \
|
|
rm -rf /tmp/*
|
|
|
|
# Game MASTERMIND - Mystic Master Mind v2
|
|
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=dm-mm200.zip && \
|
|
cd /tmp && \
|
|
curl -O ${SOURCE_URL}/${FILE} && \
|
|
unzip ${FILE} && \
|
|
cd /mystic/ && \
|
|
chmod 644 /tmp/*.DOC /tmp/*.MPS && mv /tmp/DM-MM.DOC docs/mod-mm-2.0-sysop.txt && \
|
|
mv /tmp/DM-MM.MPS scripts/dm-mm.mps && cd scripts && ./mplc dm-mm.mps && cd .. && \
|
|
gunzip data.tar.gz && mkdir -p /tmp/data/text && cd /tmp/data/text && unzip /tmp/text.zip && chmod 644 * && cd /mystic/ && tar -C /tmp -rf /mystic/data.tar data/text/ && gzip data.tar && \
|
|
rm -rf /tmp/*
|
|
|
|
# Utility SYSOPAVAIL - Sysop Availablity v2.0
|
|
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=dm-op4112.zip && \
|
|
cd /tmp && \
|
|
curl -O ${SOURCE_URL}/${FILE} && \
|
|
unzip ${FILE} && \
|
|
cd /mystic/ && \
|
|
chmod 644 /tmp/*.doc /tmp/*.mps && mv /tmp/dm-op411.doc docs/mod-op4112-2.0-sysop.txt && \
|
|
mv /tmp/dm-op411.mps scripts/ && cd scripts && ./mplc dm-op411.mps && cd .. && \
|
|
rm -rf /tmp/*
|
|
|
|
# Game REVERSI - Reversi v1.1
|
|
RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=gy-rvrs10.zip && \
|
|
cd /tmp && \
|
|
curl -O ${SOURCE_URL}/${FILE} && \
|
|
unzip ${FILE} && \
|
|
cd /mystic/ && \
|
|
chmod 644 /tmp/*.txt /tmp/*.mps /tmp/*.ans && mv /tmp/sysop.txt docs/mod-rvrs-1.0-sysop.txt && \
|
|
mv /tmp/reversi.mps scripts/ && cd scripts && ./mplc reversi.mps && cd .. && \
|
|
gunzip data.tar.gz && mkdir -p /tmp/data/text && mv /tmp/r*.ans /tmp/data/text/ && tar -C /tmp -rf /mystic/data.tar data/text/ && gzip data.tar && \
|
|
rm -rf /tmp/*
|
|
|
|
# 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
|