Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Alphafold2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
RC Data Science
community-containers
Alphafold2
Commits
2de860de
Commit
2de860de
authored
9 months ago
by
Matthew K Defenderfer
Browse files
Options
Downloads
Patches
Plain Diff
change to most recent Dockerfile from main alphafold repo
parent
8d69945e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#11525
failed with stage
in 10 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+15
-19
15 additions, 19 deletions
Dockerfile
with
15 additions
and
19 deletions
Dockerfile
+
15
−
19
View file @
2de860de
...
...
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
ARG
CUDA=1
1.1.1
FROM
nvidia/cuda:${CUDA}-cudnn8-runtime-ubuntu
18
.04
ARG
CUDA=1
2.2.2
FROM
nvidia/cuda:${CUDA}-cudnn8-runtime-ubuntu
20
.04
# FROM directive resets ARGS, so we specify again (the value is retained if
# previously set).
ARG
CUDA
...
...
@@ -47,20 +47,17 @@ RUN git clone --branch v3.3.0 https://github.com/soedinglab/hh-suite.git /tmp/hh
# Install Miniconda package manager.
RUN
wget
-q
-P
/tmp
\
https://repo.anaconda.com/miniconda/Miniconda3-
py38_23.11.0-2
-Linux-x86_64.sh
\
&&
bash /tmp/Miniconda3-
py38_23.11.0-2
-Linux-x86_64.sh
-b
-p
/opt/conda
\
&&
rm
/tmp/Miniconda3-
py38_23.11.0-2
-Linux-x86_64.sh
https://repo.anaconda.com/miniconda/Miniconda3-
latest
-Linux-x86_64.sh
\
&&
bash /tmp/Miniconda3-
latest
-Linux-x86_64.sh
-b
-p
/opt/conda
\
&&
rm
/tmp/Miniconda3-
latest
-Linux-x86_64.sh
# Install conda packages.
ENV
PATH="/opt/conda/bin:$PATH"
RUN
conda
install
-qy
conda
==
4.13.0
\
&&
conda
install
-y
-c
conda-forge
\
openmm
=
7.5.1
\
cudatoolkit
==
${
CUDA_VERSION
}
\
pdbfixer
\
pip
\
python
=
3.8
\
&&
conda clean
--all
--force-pkgs-dirs
--yes
ENV
LD_LIBRARY_PATH="/opt/conda/lib:$LD_LIBRARY_PATH"
RUN
conda
install
-qy
conda
==
24.1.2 pip
python
=
3.11
\
&&
conda
install
-y
-c
nvidia
cuda
=
${
CUDA_VERSION
}
\
&&
conda
install
-y
-c
conda-forge
openmm
=
8.0.0 pdbfixer
\
&&
conda clean
--all
--force-pkgs-dirs
--yes
COPY
. /app/alphafold
RUN
wget
-q
-P
/app/alphafold/alphafold/common/
\
...
...
@@ -70,17 +67,16 @@ RUN wget -q -P /app/alphafold/alphafold/common/ \
RUN
pip3
install
--upgrade
pip
--no-cache-dir
\
&&
pip3
install
-r
/app/alphafold/requirements.txt
--no-cache-dir
\
&&
pip3
install
--upgrade
--no-cache-dir
\
jax
==
0.
3
.2
5
\
jaxlib
==
0.
3
.2
5
+cuda1
1
.cudnn8
05
\
jax
==
0.
4
.2
6
\
jaxlib
==
0.
4
.2
6
+cuda1
2
.cudnn8
9
\
-f
https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
# Apply OpenMM patch.
WORKDIR
/opt/conda/lib/python3.8/site-packages
RUN
patch
-p0
< /app/alphafold/docker/openmm.patch
# Add SETUID bit to the ldconfig binary so that non-root users can run it.
RUN
chmod
u+s /sbin/ldconfig.real
# Currently needed to avoid undefined_symbol error.
RUN
ln
-sf
/usr/lib/x86_64-linux-gnu/libffi.so.7 /opt/conda/lib/libffi.so.7
# We need to run `ldconfig` first to ensure GPUs are visible, due to some quirk
# with Debian. See https://github.com/NVIDIA/nvidia-docker/issues/1399 for
# details.
...
...
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