Added Python to the base image

This commit is contained in:
Deon George 2018-08-30 00:33:58 +10:00
parent fa04bef3de
commit 3f4890970a
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,4 @@
cleaninstall/ cleaninstall/
.git/ .git/
Makefile Makefile
devel

View File

@ -1,19 +1,23 @@
# NAME leenooks/mysticbbs # NAME leenooks/mysticbbs
# VERSION 1.12a39-armv7l # VERSION 1.12a39
FROM arm32v7/debian:stretch-slim FROM debian:stretch-slim
MAINTAINER Deon George <deon@leenooks.net> MAINTAINER Deon George <deon@leenooks.net>
# Pre-requisites # Pre-requisites
# + Base application requires unzip zip curl libhunspell-dev libpython2.7
RUN apt-get update \ RUN apt-get update \
&& apt-get install -yqq unzip zip curl libhunspell-dev \ && apt-get install -yqq unzip zip curl libhunspell-dev libpython2.7 \
&& rm -rf /var/lib/apt/lists/* /tmp/* && rm -rf /var/lib/apt/lists/* /tmp/*
# Add in Leenooks' apt repository
RUN curl -s http://apt.leenooks.net/setup.sh | sh
# For SSH connections and Spell # For SSH connections and Spell
ADD libcl.so.3.4.3 /usr/lib RUN apt-get update \
RUN ln -sf libcl.so.3.4.3 /usr/lib/libcl.so && apt-get install --allow-unauthenticated -yqq cryptlib \
RUN ln -sf /usr/lib/arm-linux-gnueabihf/libhunspell-1.3.so.0 /usr/lib/libhunspell.so && rm -rf /var/lib/apt/lists/* /tmp/*
RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
@ -27,5 +31,3 @@ CMD [ "start" ]
ADD mystic.tar.gz / ADD mystic.tar.gz /
VOLUME ["/mystic/data"] VOLUME ["/mystic/data"]
# Add Mystic Mods