summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorSantiago Lapresta <santiago.lapresta@gmail.com>2015-03-18 01:12:08 +0100
committerNicolas Williams <nico@cryptonector.com>2015-03-24 14:59:29 -0500
commit9d62c6fd0c739e2ec5925812084827c83df94922 (patch)
tree98a6c944f51aa94c1976968b9aa9ddeb9e349a03 /Dockerfile
parent5e0db6dd658f4f791d67de4a7b00d8fc159af15a (diff)
Adds Dockerfile
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..6a9a6367
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,39 @@
+FROM debian:wheezy
+
+# get dependencies
+
+RUN apt-get update
+
+RUN apt-get install -y build-essential
+RUN apt-get install -y autoconf
+RUN apt-get install -y libonig2
+RUN apt-get install -y libtool
+RUN apt-get install -y git
+RUN apt-get install -y valgrind
+RUN apt-get install -y bison
+RUN apt-get install -y flex
+RUN apt-get install -y ruby1.9.3
+
+RUN gem install bundler
+
+# get docs dependencies
+
+COPY ./docs/Gemfile /app/docs/Gemfile
+COPY ./docs/Gemfile.lock /app/docs/Gemfile.lock
+
+WORKDIR /app/docs
+
+RUN bundle install
+
+# copy files
+
+WORKDIR /app
+
+COPY . /app
+
+# build
+
+RUN autoreconf -i
+RUN ./configure
+RUN make -j8
+RUN make check