# NAME leenooks/mysticbbs
# VERSION 1.12a39-armv7l
FROM arm32v7/debian:stretch-slim
MAINTAINER Deon George <deon@leenooks.net>
# Pre-requisites
RUN apt-get update \
&& apt-get install -yqq unzip zip curl libhunspell-dev \
&& rm -rf /var/lib/apt/lists/* /tmp/*
# For SSH connections and Spell
ADD libcl.so.3.4.3 /usr/lib
RUN ln -sf libcl.so.3.4.3 /usr/lib/libcl.so
RUN ln -sf /usr/lib/arm-linux-gnueabihf/libhunspell-1.3.so.0 /usr/lib/libhunspell.so
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