Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alphafold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florence DEPARDIEU
Alphafold
Commits
2b972bc8
Commit
2b972bc8
authored
3 years ago
by
Quang tru HUYNH
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile
parent
4ad86afc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile
+10
-8
10 additions, 8 deletions
docker/Dockerfile
with
10 additions
and
8 deletions
docker/Dockerfile
+
10
−
8
View file @
2b972bc8
...
...
@@ -13,7 +13,7 @@
# limitations under the License.
ARG
CUDA=11.0
FROM
nvidia/cuda:${CUDA}-
base
FROM
nvidia/cuda:${CUDA}-
cudnn8-runtime-ubuntu18.04
# FROM directive resets ARGS, so we specify again (the value is retained if
# previously set).
ARG
CUDA
...
...
@@ -34,14 +34,15 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
# Compile HHsuite from source.
RUN
git clone
--branch
v3.3.0 https://github.com/soedinglab/hh-suite.git /tmp/hh-suite
\
&&
mkdir
/tmp/hh-suite/build
WORKDIR
/tmp/hh-suite/build
RUN
cmake
-DHAVE_AVX2
=
1
-DCMAKE_INSTALL_PREFIX
=
/opt/hhsuite ..
\
&&
mkdir
/tmp/hh-suite/build
\
&&
pushd
/tmp/hh-suite/build
\
&&
cmake
-DHAVE_AVX2
=
1
-DCMAKE_INSTALL_PREFIX
=
/opt/hhsuite ..
\
&&
make
-j
4
&&
make
install
\
&&
ln
-s
/opt/hhsuite/bin/
*
/usr/bin
\
&&
popd
\
&&
rm
-rf
/tmp/hh-suite
# Install Miniconda package manger.
# Install Miniconda package man
a
ger.
RUN
wget
-q
-P
/tmp
\
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
\
&&
bash /tmp/Miniconda3-latest-Linux-x86_64.sh
-b
-p
/opt/conda
\
...
...
@@ -52,9 +53,10 @@ ENV PATH="/opt/conda/bin:$PATH"
RUN
conda update
-qy
conda
\
&&
conda
install
-y
-c
conda-forge
\
openmm
=
7.5.1
\
cudatoolkit
==
${
CUDA
}
.3
\
cudatoolkit
==
${
CUDA
_VERSION
}
\
pdbfixer
\
pip
pip
\
python
=
3.7
COPY
. /app/alphafold
RUN
wget
-q
-P
/app/alphafold/alphafold/common/
\
...
...
@@ -67,7 +69,7 @@ RUN pip3 install --upgrade pip \
https://storage.googleapis.com/jax-releases/jax_releases.html
# Apply OpenMM patch.
WORKDIR
/opt/conda/lib/python3.
8
/site-packages
WORKDIR
/opt/conda/lib/python3.
7
/site-packages
RUN
patch
-p0
< /app/alphafold/docker/openmm.patch
# We need to run `ldconfig` first to ensure GPUs are visible, due to some quirk
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment