-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (29 loc) · 1.27 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:16.04
MAINTAINER barronb@barnett-systems.com
ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux
ENV HOME /root
ENV PATH="/opt/anaconda3/bin:/opt/anaconda3/sbin:${PATH}"
WORKDIR /root
ENTRYPOINT /bin/bash
VOLUME /root
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && apt-get -y update \
&& apt-get install -y apt-utils software-properties-common \
&& apt-get install -y gcc cmake wget git gcc g++ \
&& apt-get install -y libedit-dev zlibc zlib1g zlib1g-dev libopenblas-dev doxygen
RUN apt-get update \
&& apt-get install -y bzip2 \
&& wget https://repo.continuum.io/archive/Anaconda3-4.4.0-Linux-x86_64.sh -O /root/Anaconda3-install.sh \
&& chmod +x /root/Anaconda3-install.sh \
&& /root/Anaconda3-install.sh -b -p /opt/anaconda3 \
&& rm /root/Anaconda3-install.sh
RUN wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
&& apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main" \
&& apt-get -y update \
&& apt-get install -y llvm-3.9-dev
RUN apt-get install curl \
&& curl -O --location http://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz \
&& tar zxvf swig-3.0.12.tar.gz && cd swig-3.0.12 \
&& ./configure --without-pcre && make && make install \
&& cd ~/
ENTRYPOINT [ "/root/build.sh" ]