From 9733bbcfd69af2fe7d2acce97b358456d0a7076b Mon Sep 17 00:00:00 2001 From: Eliran Bivas Date: Thu, 8 Sep 2016 15:42:07 +0300 Subject: [PATCH] Build using docker and docker-compose --- Dockerfile | 12 ++++++++++++ docker-compose.yml | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9170698 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM java:8-jdk + +RUN apt-get update && \ + apt-get install -y \ + build-essential \ + libtool \ + autoconf \ + git \ + libnuma-dev \ + librdmacm-dev && \ + rm -rf /var/lib/apt/lists/* + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8e081b3 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +jxio: + build: . + volumes: + - ${PWD}:/code + working_dir: /code + command: /bin/bash build.sh