"container/deps/vscode:/vscode.git/clone" did not exist on "a0e1da037c17c4c5a7f990ab09f54d0a8f446994"
Dockerfile 1.4 KB
Newer Older
1
FROM nvidia/cuda:10.2-cudnn8-runtime-ubuntu18.04
2

Sam DeLuca's avatar
Sam DeLuca committed
3
4
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub

Brian Loyal's avatar
Brian Loyal committed
5
6
7
RUN apt-get update \
    && apt-get install -y wget cuda-minimal-build-10-2 git zip \
    && apt-get clean
8

Brian Loyal's avatar
Brian Loyal committed
9
10
11
12
RUN wget -q -P /tmp \
  https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh \
  && bash /tmp/Mambaforge-Linux-x86_64.sh -b -p /opt/mamba \
  && rm /tmp/Mambaforge-Linux-x86_64.sh
13

Brian Loyal's avatar
Brian Loyal committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ENV PATH="/opt/mamba/bin:$PATH"

RUN wget -O "awscliv2.zip" "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \
    && unzip awscliv2.zip \
    && ./aws/install \
    && rm awscliv2.zip

RUN git clone --branch main --single-branch https://github.com/aqlaboratory/openfold.git /opt/openfold \
    && cd /opt/openfold \
    && git reset ec5619fc970e28e7b81ce452f5e08e7dd6a7cb31 \
    && rm -rf /opt/openfold/imgs /opt/openfold/notebooks /opt/openfold/tests

RUN mamba env update -n base --file /opt/openfold/environment.yml \
    && mamba clean --all
28
29
30

RUN wget -q -P /opt/openfold/openfold/resources \
    https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt
Brian Loyal's avatar
Brian Loyal committed
31
32
33
34
35
36
37
38

RUN patch -p0 -d /opt/mamba/lib/python3.7/site-packages/ < /opt/openfold/lib/openmm.patch

COPY run_batch_job.sh /opt/openfold

WORKDIR /opt/openfold 

RUN python3 setup.py install