-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDockerfile
More file actions
60 lines (45 loc) · 1.33 KB
/
Copy pathDockerfile
File metadata and controls
60 lines (45 loc) · 1.33 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Create an image for obtaining an .stl file from an MRI volume using freesurfer
# see https://github.com/danjonpeterson/brain_printer
# start with vistalabs freesurfer image
FROM vistalab/freesurfer
## BEGIN INSTALL AWSCLI
RUN apt-get update && \
apt-get install -y \
python3 \
python3-pip \
python3-setuptools \
groff \
less \
&& pip3 install --upgrade pip \
&& apt-get clean
RUN pip3 --no-cache-dir install --upgrade awscli --ignore-installed
## END INSTALL AWSCLI
## BEGIN INSTALL POVRAY
RUN apt-get update
RUN apt-get install -y git \
build-essential \
libboost-dev \
libpng12-dev \
libjpeg8-dev \
libtiff5-dev \
autoconf \
libboost-all-dev
RUN git clone https://github.com/POV-Ray/povray.git
WORKDIR /povray/unix
RUN ./prebuild.sh
WORKDIR /povray
RUN ./configure COMPILED_BY="DJP"
RUN make
RUN make install
## END INSTALL POVRAY
## BEGIN INSTALL STL2POV
WORKDIR /
RUN git clone https://github.com/timschmidt/stl2pov.git
WORKDIR /stl2pov
RUN make
## END INSTALL STL2POV
# install imagemagick
RUN apt-get install -y imagemagick
# git my repo
WORKDIR /
RUN git clone https://github.com/danjonpeterson/brain_printer/