Browse Source

add dockerfile for ubuntu

nico 8 years ago
parent
commit
4f8070c483
2 changed files with 26 additions and 0 deletions
  1. 8 0
      docker/docker.md
  2. 18 0
      docker/ubuntu_16_04.dockerfile

+ 8 - 0
docker/docker.md

@@ -0,0 +1,8 @@
+# Docker deployment and tests
+
+## Create images
+
+Build the image for Ubuntu 16.04
+```
+docker build --force-rm=true -t kalliope-app -f ubuntu_16_04.dockerfile .
+```

+ 18 - 0
docker/ubuntu_16_04.dockerfile

@@ -0,0 +1,18 @@
+FROM ubuntu:16.04
+
+ENV no_proxy="127.0.0.1,localhost,kalliope.fr"
+
+# pico2wav is a multiverse package
+RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list
+
+# install packages
+RUN apt-get update && apt-get install -y \
+    git python-dev libsmpeg0 libttspico-utils libsmpeg0 flac dialog \
+    libffi-dev libffi-dev libssl-dev portaudio19-dev build-essential \
+    sox libatlas3-base mplayer wget \
+    && rm -rf /var/lib/apt/lists/*
+
+# Install the last PIP
+RUN wget https://bootstrap.pypa.io/get-pip.py
+RUN python get-pip.py
+