From c3854d3a4c3e7f10b85278f1338416036ce90311 Mon Sep 17 00:00:00 2001 From: Cadey Dodrill Date: Fri, 19 Aug 2016 17:02:25 -0700 Subject: [PATCH] Add proper nim dockerfile --- base/nim-0.14.2/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 base/nim-0.14.2/Dockerfile diff --git a/base/nim-0.14.2/Dockerfile b/base/nim-0.14.2/Dockerfile new file mode 100644 index 0000000..a0524c3 --- /dev/null +++ b/base/nim-0.14.2/Dockerfile @@ -0,0 +1,19 @@ +FROM buildpack-deps:jessie +MAINTAINER Cadey Dodrill + +RUN mkdir /nim -p +WORKDIR /nim + +RUN wget http://nim-lang.org/download/nim-0.14.2.tar.xz \ + && tar xf nim-0.14.2.tar.xz \ + && mv nim-0.14.2 compiler \ + && cd compiler \ + && sh build.sh \ + && ln -s /nim/compiler/bin/nim /bin/nim \ + && cd .. \ + && rm nim-0.14.2.tar.xz \ + && git clone https://github.com/nim-lang/nimble.git \ + && cd nimble \ + && /nim/compiler/bin/nim -d:release c -r src/nimble -y install \ + && cd .. \ + && ln -s /nim/nimble/nimble /bin/nimble