-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
35 lines (29 loc) · 1.05 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
FROM nvidia/cuda
# Install some utilities
RUN apt-get update && \
apt-get install -y -q wget git libxrender1 && \
apt-get clean
# Install miniconda
RUN MINICONDA="Miniconda2-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
# Install deepchem conda package from omnia
# TODO: Uncomment this when there is a stable release of deepchem.
#RUN conda config --add channels omnia
#RUN conda install --yes deepchem
# Install deepchem with GPU support from github using Tue 14 Mar 2017 git head
# TODO: Get rid of this when there is a stable release of deepchem.
RUN git clone https://github.com/deepchem/deepchem.git && \
cd deepchem && \
git checkout tags/1.0.0 && \
bash scripts/install_deepchem_conda.sh root && \
pip install tensorflow-gpu==1.0.1 && \
python setup.py develop
# Clean up
RUN cd deepchem && \
git clean -fX
# Run tests
#RUN pip install nose && \
# nosetests -v deepchem --nologcapture