Commit 03185ee3 authored by nd-02110114's avatar nd-02110114
Browse files

add new dockerfile

parent b64c99ac
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
FROM nvidia/cuda:10.2-cudnn7-devel

# Install some utilities
RUN apt-get update && \
    apt-get install -y -q wget git vim 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 && \
    echo ". /miniconda/etc/profile.d/conda.sh" >> ~/.bashrc
ENV PATH /miniconda/bin:$PATH

SHELL ["/bin/bash", "-l", "-c"]

# install latest version deepchem
RUN conda update -n base conda && \
    conda create -y --name deepchem python=3.6 && \
    conda activate deepchem && \
    yes | pip install --upgrade pip && \
    yes | pip install --pre -U tensorflow-gpu tensorflow-probability && \
    conda install -c deepchem -c rdkit -c conda-forge -c omnia deepchem-gpu=2.3.0
 No newline at end of file
+23 −0
Original line number Diff line number Diff line
FROM nvidia/cuda:10.2-cudnn7-devel

# Install some utilities
RUN apt-get update && \
    apt-get install -y -q wget git vim 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 && \
    echo ". /miniconda/etc/profile.d/conda.sh" >> ~/.bashrc
ENV PATH /miniconda/bin:$PATH

SHELL ["/bin/bash", "-l", "-c"]

# install deepchem with master branch
RUN conda update -n base conda && \
    git clone --depth=1 https://github.com/deepchem/deepchem.git && \
    cd deepchem && \
    gpu=1 bash scripts/install_deepchem_conda.sh deepchem && \
    conda activate deepchem && python setup.py install
 No newline at end of file