-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
31 lines (27 loc) · 899 Bytes
/
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
# Dockerfile for amber in a slurm cluster
FROM python:3.5.2
# To get the AmberTools16.tar.bz file, fill out the form
# at the site below and click Download.
ADD AmberTools16.tar.bz2 USAGE.txt /usr/local/
RUN apt-get update \
&& apt-get install -y \
csh \
flex \
gfortran \
g++ \
zlib1g-dev \
libbz2-dev \
patch \
openmpi-bin \
libopenmpi-dev
RUN cd /usr/local/amber16 \
&& export AMBERHOME=$(pwd) \
&& ./update_amber --show-applied-patches \
&& ./update_amber --update \
&& ./update_amber --show-applied-patches \
&& ./configure --with-python /usr/local/bin/python3.5 -noX11 gnu \
&& . ${AMBERHOME}/amber.sh \
&& make -j4 install \
&& ./configure --with-python /usr/local/bin/python3.5 -noX11 -mpi gnu \
&& make -j4 install
CMD ["more","/usr/local/USAGE.txt"]