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

123 lines
5.3 KiB
Docker
Raw Normal View History

# NAME leenooks/mysticbbs
2019-02-03 01:51:28 +00:00
# VERSION 1.12a42-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.
2019-02-03 01:51:28 +00:00
FROM registry.leenooks.net/leenooks/mysticbbs:1.12a42-armv7l
2019-02-03 01:51:28 +00:00
# Makenl
2018-08-30 06:51:18 +00:00
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
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/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/*
2018-09-14 11:09:33 +00:00
# Utility BLAM - BBS List Admin Manager v2.1 with Node2BBI
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=node2bbi.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 && \
2018-09-14 11:09:33 +00:00
mv /tmp/fsxnetnode2bbi.txt docs/mod-blam-2.1-fsxnetnode2bbi.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 11:09:33 +00:00
mv /tmp/node2bbi.mps . && ./mplc node2bbi.mps && \
2018-09-14 05:27:24 +00:00
rm -rf /tmp/*
# Utility QRCODE - QR Code for Mystic BBS v1.0
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=xq-qrcode.zip && \
2018-09-14 05:27:24 +00:00
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?
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=xq-moon.zip && \
2018-09-14 05:27:24 +00:00
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
# Utility USERBIRTHDAYS - Today's User Birthdays v2
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/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
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/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
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/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
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=gy-rvrs10.zip && \
cd /tmp && \
curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
cd /mystic/ && \
2018-09-14 11:09:33 +00:00
chmod 644 /tmp/*.txt /tmp/*.mps /tmp/*.ans && mv /tmp/sysop.txt docs/mod-reversi-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/*
2018-09-14 11:09:33 +00:00
# Utility TIMEZONE - Timezone
2019-02-03 01:51:28 +00:00
RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=xq-timezone.zip && \
2018-09-14 11:09:33 +00:00
cd /tmp && \
curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
cd /mystic/ && \
chmod 644 /tmp/*.txt /tmp/*.mps /tmp/xq-tz/* && mv /tmp/sysop.txt docs/mod-tz-1.0-sysop.txt && \
mv /tmp/xq-tz.mps scripts/ && cd scripts && ./mplc xq-tz && cd .. && \
mv /tmp/xq-tz scripts/ && \
apt-get update && \
apt-get install --no-install-recommends -yqq python-dateutil python-tz && \
rm -rf /var/lib/apt/lists/* /tmp/*
2019-02-03 01:51:28 +00:00
# Game Galactic Dynasty
2018-08-30 05:13:39 +00:00
RUN apt-get update \
&& apt-get install --no-install-recommends --allow-unauthenticated -yqq galacticdynasty \
&& rm -rf /var/lib/apt/lists/* /tmp/* \
2019-02-03 01:51:28 +00:00
&& cd /mystic/docs && mkdir -p doors && cp -pR /var/door/galacticdynasty doors/
#&& mv /usr/share/doc/galacticdynasty/linmyst.txt mod-galacticdynasty-0.9.3-linmyst.txt