forked from deepchem/deepchem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (22 loc) · 794 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
FROM nvidia/cuda:9.0-cudnn7-runtime
# Install some utilities
RUN apt-get update && \
apt-get install -y -q wget git libxrender1 libsm6 bzip2 && \
apt-get clean
# Install miniconda
RUN MINICONDA="Miniconda3-latest-Linux-x86_64.sh" && \
wget --quiet https://repo.continuum.io/miniconda/$MINICONDA && \
bash $MINICONDA -b -p /miniconda && \
rm -f $MINICONDA
ENV PATH /miniconda/bin:$PATH
RUN conda update -n base conda
RUN export LANG=en_US.UTF-8 && \
git clone https://github.com/deepchem/deepchem.git && \
cd deepchem && \
git checkout 2.0.0 && \
sed -i -- 's/tensorflow$/tensorflow-gpu/g' scripts/install_deepchem_conda.sh && \
bash scripts/install_deepchem_conda.sh && \
python setup.py develop
# Clean up
RUN cd deepchem && \
git clean -fX