From d73ad3434a39227f2f2b54d695066794e73ef8d4 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 4 Dec 2017 20:42:50 +0700 Subject: [PATCH] Install dependencies --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Dockerfile b/Dockerfile index 077f8d5..9cfec78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,18 @@ FROM ubuntu:16.04 LABEL maintainer="Luke Childs " + +ENV HOME /root +WORKDIR /root + +RUN apt-get update + +RUN apt-get install -y git build-essential cmake sudo libcurl4-openssl-dev + +RUN git clone https://github.com/nanomsg/nanomsg && \ + cd nanomsg && \ + cmake . && \ + make && \ + sudo make install && \ + sudo ldconfig && \ + cd .. && \ + rm -rf nanomsg