From c0641ce6032fec8f5ac667219b551ebc47c1ddc6 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 30 Aug 2018 15:13:39 +1000 Subject: [PATCH] Added Galactic Dynasty 0.9.1 --- .dockerignore | 1 + .gitlab-ci.yml | 4 ++-- Dockerfile | 15 +++++++++++---- README.md | 9 +++++---- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.dockerignore b/.dockerignore index c3f413b..0cce7fc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ cleaninstall/ .git/ Makefile +devel/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c688a8f..ee4c81b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,10 +33,10 @@ build: stage: build script: - if [ -f init ]; then chmod 500 init; fi - # docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG} || true + - docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG} || true - docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} . - docker push ${CI_REGISTRY_IMAGE}:${VERSION} - # docker push ${CI_REGISTRY_IMAGE}:${CACHETAG} + - docker push ${CI_REGISTRY_IMAGE}:${CACHETAG} tags: - docker-armv7l only: diff --git a/Dockerfile b/Dockerfile index 1e8b818..96cdfde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,22 +5,29 @@ FROM registry.leenooks.net/leenooks/mysticbbs:1.12a39-armv7l ## Add Mystic Mods # Game DBLup - Double-Up! v1.0 -RUN SOURCE_URL=http://yum.leenooks.net/bbs/MysticBBS/mods && FILE=DBLUP10.ZIP && \ +RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=DBLUP10.ZIP && \ cd /tmp && \ curl -O ${SOURCE_URL}/${FILE} && \ unzip ${FILE} && \ cd /mystic/ && \ - mv /tmp/sysop.txt docs/mod-dblup-1.0-sysop.txt && \ + 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=http://yum.leenooks.net/bbs/MysticBBS/mods && FILE=GYBLAM21.ZIP && \ +RUN SOURCE_URL=https://chinwag.leenooks.net/mods && FILE=GYBLAM21.ZIP && \ cd /tmp && \ curl -O ${SOURCE_URL}/${FILE} && \ unzip ${FILE} && \ cd /mystic/ && \ - mv /tmp/sysop.txt docs/mod-blam-2.1-sysop.txt && \ + 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/** + +# 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 diff --git a/README.md b/README.md index 60d4524..ea1b019 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,9 @@ This image is a clean install of Mystic BBS v1.12a39. It is ready for you to con ### leenooks/mysticbbs:1.12a39-armv7l-extras (Branch: armv7l-extras) This image is based on the above image, with the follow additional games/tools installed. You'll need to refer to the documentation in the docs/ directory (inside the container) for details on how to configure these mods. The docs are named `mod--...` -| Category | Name | Description | -| :- | :- | :- | -| Game | Double Up | Double Up! for Mystic V1.0 by Darryl Perry | -| Utility | BLAM | BBS List Admin Manager for Mystic v2.0 by Darryl Perry | +| Category | Name | Description | Notes | +| :- | :- | :- | :- | +| Game | Double Up | Double Up! for Mystic V1.0 by Darryl Perry | No special action required - refer to doc in /mystic/docs for execution. | +| Game | Galactic Dynasty | Galactic Dynasty, a game like Barren Realms Elite | You'll need to copy `/mystic/docs/doors/galacticdynasty` to somewhere on `/mystic/data` so that your game data is preserved between container re-deployments. Modify `start.sh` to suite your needs - refer to doc in /mystic/docs for execution. +| Utility | BLAM | BBS List Admin Manager for Mystic v2.0 by Darryl Perry | If you create an `ini` file, ensure it is stored somewhere in `/mystic/data` - refer to doc in /mystic/docs for execution. |