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

34 lines
816 B
Docker
Raw Normal View History

# NAME leenooks/mysticbbs
2018-08-29 14:33:58 +00:00
# VERSION 1.12a39
2018-08-29 14:33:58 +00:00
FROM debian:stretch-slim
MAINTAINER Deon George <deon@leenooks.net>
# Pre-requisites
2018-08-29 14:33:58 +00:00
# + Base application requires unzip zip curl libhunspell-dev libpython2.7
RUN apt-get update \
2018-08-29 14:33:58 +00:00
&& apt-get install -yqq unzip zip curl libhunspell-dev libpython2.7 \
&& rm -rf /var/lib/apt/lists/* /tmp/*
2018-08-29 14:33:58 +00:00
# Add in Leenooks' apt repository
RUN curl -s http://apt.leenooks.net/setup.sh | sh
# For SSH connections and Spell
2018-08-29 14:33:58 +00:00
RUN apt-get update \
&& apt-get install --allow-unauthenticated -yqq cryptlib \
&& rm -rf /var/lib/apt/lists/* /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"]