# NAME leenooks/mysticbbs # VERSION 1.12a42-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.12a42-armv7l # Makenl 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! v2.1 RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=dblup21.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 with Node2BBI RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=node2bbi.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/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 && \ mv /tmp/node2bbi.mps . && ./mplc node2bbi.mps && \ rm -rf /tmp/* # Utility QRCODE - QR Code for Mystic BBS v1.0 RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/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/bbs/mystic/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/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 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 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 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/ && \ 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/* # Utility TIMEZONE - Timezone RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=xq-timezone.zip && \ 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/* # Game Galactic Dynasty 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 /var/door/galacticdynasty doors/ #&& mv /usr/share/doc/galacticdynasty/linmyst.txt mod-galacticdynasty-0.9.3-linmyst.txt # Game Murder Mansion - Murder Mansion v2.0 RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=gy-mm2.zip && \ cd /tmp && \ curl -O ${SOURCE_URL}/${FILE} && \ unzip ${FILE} && \ cd /mystic/ && \ chmod 644 /tmp/*.txt /tmp/*.mps /tmp/*.ans /tmp/mansion.* && mv /tmp/sysop.txt docs/mod-mmansion-2.0-sysop.txt && mv /tmp/mansion.hlp docs/mod-mmansion-1.0-mansion.hlp && \ mv /tmp/mansion.mps scripts/ && cd scripts && ./mplc mansion.mps && cd .. && \ gunzip data.tar.gz && mkdir -p /tmp/data/text && mv /tmp/*.ans /tmp/data/text/ && \ mkdir -p /tmp/data/data && mv /tmp/mansion.map /tmp/mansion.itm /tmp/data/data/ && tar -C /tmp -rf /mystic/data.tar data/text/ && gzip data.tar && \ rm -rf /tmp/* # Utility IBOL - Interbbs 0.4 RUN SOURCE_URL=https://chinwag.leenooks.net/bbs/mystic/mods && FILE=gy-ibol04.zip && \ cd /tmp && \ curl -O ${SOURCE_URL}/${FILE} && \ unzip ${FILE} && \ cd /mystic/ && \ chmod 644 /tmp/*.txt /tmp/*.mpy /tmp/*.ans && mv /tmp/sysop.txt docs/mod-ibol-0.4-sysop.txt && \ mv /tmp/ibol.mpy scripts/ && cd scripts && ./mplc mansion.mpy && cd .. && \ gunzip data.tar.gz && mkdir -p /tmp/data/text && mv /tmp/ibol*.ans /tmp/data/text/ && tar -C /tmp -rf /mystic/data.tar data/text/ && gzip data.tar && \ rm -rf /tmp/*