docker-compose.yaml: add build tasks for java python and node

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Nicolas Oliver 2017-05-26 14:13:35 -07:00 committed by Mihai Tudor Panu
parent d4396c2ce3
commit bb4ce17d44

74
docker-compose.yaml Normal file
View File

@ -0,0 +1,74 @@
version: '2'
services:
ubuntu:
image: ubuntu:16.04
command: bash
environment:
- http_proxy
- https_proxy
- no_proxy
main:
build:
context: .
dockerfile: Dockerfile
args:
- http_proxy
- https_proxy
- no_proxy
- BUILDDOC=OFF
- BUILDSWIGPYTHON=OFF
- BUILDSWIGJAVA=OFF
- BUILDSWIGNODE=OFF
- BUILDEXAMPLES=ON
- IPK=OFF
- RPM=OFF
- NPM=OFF
- BUILDTESTS=ON
- CC=clang-3.8
- CXX=clang++-3.8
- NODE_VERSION=v4.1.2
- WERROR=ON
environment:
- http_proxy
- https_proxy
- no_proxy
doc:
extends: main
build:
args:
- BUILDDOC=ON
command: make doc
python:
extends: main
build:
args:
- BUILDSWIGPYTHON=ON
command: bash -c "make"
java:
extends: main
build:
args:
- BUILDSWIGJAVA=ON
- CC=gcc-4.8
- CXX=g++-4.8
command: bash -c "make"
node4:
extends: main
build:
args:
- BUILDSWIGNODE=ON
- NODE_VERSION=v4.1.2
command: bash -c "make"
node5:
extends: node4
build:
args:
- NODE_VERSION=v5.12.0