Browse Source

Add dockerfile

Bastien Sevajol 8 years ago
parent
commit
90afd20b3a
1 changed files with 17 additions and 0 deletions
  1. 17 0
      Dockerfile

+ 17 - 0
Dockerfile View File

1
+FROM ubuntu:14.04
2
+
3
+# Disable frontend for apt-get
4
+ENV DEBIAN_FRONTEND=noninteractive
5
+
6
+# All deb required packages
7
+RUN apt-get update
8
+RUN apt-get install -y git python3-pip mercurial python3-dev python3-numpy libav-tools libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev  libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev
9
+
10
+# Build pygame (curent default graphic viewer)
11
+RUN cd / && hg clone https://bitbucket.org/pygame/pygame
12
+RUN cd /pygame && python3 setup.py build
13
+RUN cd /pygame && sudo python3 setup.py install
14
+
15
+# Install intelligine and it's dependencies
16
+RUN cd / && git clone https://github.com/buxx/intelligine.git
17
+RUN pip3 install -r /intelligine/requirements.txt