Added Game Double Up! 1.0, Utility BLAM 2.1

This commit is contained in:
Deon George 2018-08-24 17:19:08 +10:00
parent f8bb545f90
commit 918f900f67
2 changed files with 26 additions and 30 deletions

View File

@ -5,7 +5,8 @@ stages:
- build - build
variables: variables:
VERSION: 1.12a39-${CI_COMMIT_REF_NAME} SUFFIX: -extra
VERSION: 1.12a39-${CI_COMMIT_REF_NAME}${SUFFIX}
CACHETAG: build-${CI_COMMIT_REF_NAME} CACHETAG: build-${CI_COMMIT_REF_NAME}
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
@ -36,8 +37,8 @@ build:
- 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 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}:${VERSION}
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG} # docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
tags: tags:
- docker-armv7l - docker-armv7l
only: only:
- armv7l - /^armv7l-.*/

View File

@ -1,31 +1,26 @@
# NAME leenooks/mysticbbs # NAME leenooks/mysticbbs
# VERSION 1.12a39-armv7l # VERSION 1.12a39-armv7l-extras
FROM arm32v7/debian:jessie-slim FROM registry.leenooks.net/leenooks/mysticbbs:1.12a39-armv7l
MAINTAINER Deon George <deon@leenooks.net> ## Add Mystic Mods
# Game DBLup - Double-Up! v1.0
RUN SOURCE_URL=http://yum.leenooks.net/bbs/MysticBBS/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 && \
mv /tmp/doubleup.mps scripts/ && cd scripts && ./mplc doubleup.mps && \
rm -rf /tmp/**
# Pre-requisites # Utility BLAM - BBS List Admin Manager v2.1
RUN apt-get update \ RUN SOURCE_URL=http://yum.leenooks.net/bbs/MysticBBS/mods && FILE=GYBLAM21.ZIP && \
&& apt-get install -yqq unzip zip curl libhunspell-dev \ cd /tmp && \
&& rm -rf /var/lib/apt/lists/* /tmp/* curl -O ${SOURCE_URL}/${FILE} && \
unzip ${FILE} && \
# For SSH connections and Spell cd /mystic/ && \
ADD libcl.so.3.4.3 /usr/lib mv /tmp/sysop.txt docs/mod-blam-2.1-sysop.txt && \
RUN ln -sf libcl.so.3.4.3 /usr/lib/libcl.so mv /tmp/gy-blam.ini docs/mod-blam-2.1-gy-blam.ini && \
RUN ln -sf /usr/lib/arm-linux-gnueabihf/libhunspell-1.3.so.0 /usr/lib/libhunspell.so mv /tmp/gy-blam.mps scripts/ && cd scripts && ./mplc gy-blam.mps && \
rm -rf /tmp/**
RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
WORKDIR /mystic
ENV mysticbbs /mystic/data
EXPOSE 22 23 24554
COPY init /sbin/init
ENTRYPOINT [ "/sbin/init" ]
CMD [ "start" ]
ADD mystic.tar.gz /
VOLUME ["/mystic/data"]
# Add Mystic Mods