From 958a54bb9d999fed0aec79a7240482d34b0f45a3 Mon Sep 17 00:00:00 2001 From: Donovan Bourlard Date: Thu, 31 Aug 2017 13:10:35 +0200 Subject: [PATCH] Add docker config, #129 --- Dockerfile | 16 ++++++++++++++++ docker-compose.yml | 8 ++++++++ 2 files changed, 24 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a286fee --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM php:7.0-cli + +# Basic packages +RUN apt-get update && apt-get install -y \ + wget \ + git \ + python-pip \ + python-dev + +RUN pip install autobahntestsuite \ + && pip install --upgrade six pyasn1 + +# Install composer +RUN curl -k -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer + +WORKDIR /usr/src/woketo diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..abc10f4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3' + +services: + woketo: + build: . + tty: true + volumes: + - .:/usr/src/woketo