-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
53 lines (46 loc) · 1.27 KB
/
Dockerfile
File metadata and controls
53 lines (46 loc) · 1.27 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
FROM debian:stable
# Install important packages
RUN apt-get update && apt-get install --fix-missing -y \
python-numpy \
python-h5py \
python-nxs \
python-setuptools \
ipython \
vim \
git \
wget \
gcc \
g++
# Install jdk needed by scipion
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" | tee -a /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y -t jessie-backports \
openjdk-8-jdk \
ca-certificates-java
# Install dependencies needed by scipion
RUN apt-get install -y \
cmake \
libopenmpi-dev \
openmpi-bin \
gfortran \
libxft-dev \
libssl-dev \
libxext-dev \
libxml2-dev \
libreadline6 \
libquadmath0 \
libxslt1-dev \
libxss-dev \
libgsl0-dev \
libx11-dev \
libfreetype6-dev
# Install scipion WORKDIR "/home"
WORKDIR "/home"
RUN wget http://scipion.cnb.csic.es/m/static/install/scipion_v1.0.1_2016-06-30_linux64.tgz
RUN tar -xvzf scipion_v1.0.1_2016-06-30_linux64.tgz
WORKDIR "/home/scipion"
RUN ./scipion config
RUN rm -rf sofware/tmp/*
RUN rm -rf sofware/em/*.tgz
# Export Path to allow running scipion
RUN export PATH=$PATH:/home/scipion/