google-deepmind / alphafold

Open source code for AlphaFold.
Apache License 2.0
12.4k stars 2.21k forks source link

ERROR when 'docker build -f docker/Dockerfile -t alphafold . ' #792

Open lg10is1 opened 1 year ago

lg10is1 commented 1 year ago

When I run 'docker build -f docker/Dockerfile -t alphafold . ', it has " ERROR: failed to solve: process "/bin/bash -o pipefail -c conda install -qy conda==4.13.0 && conda install -y -c conda-forge openmm=7.7.0 cudatoolkit==${CUDA_VERSION} pdbfixer pip python=3.8 && conda clean --all --force-pkgs-dirs --yes" did not complete successfully: exit code: 1 ". Please help me to solve this problem.

lg10is1 commented 1 year ago

It seems that changing the original code "ENV PATH="/opt/conda/bin:$PATH" RUN conda install -qy conda==4.13.0 \ && conda install -y -c conda-forge \ openmm=7.7.0 \ cudatoolkit==${CUDA_VERSION} \ pdbfixer \ pip \ python=3.8 \ && conda clean --all --force-pkgs-dirs --yes" of Dockerfile to "ENV PATH="/opt/conda/bin:$PATH" RUN conda install -y -c conda-forge \ openmm=7.7.0 \ cudatoolkit==${CUDA_VERSION} \ pdbfixer \ pip \ python=3.8 \ && conda clean --all --force-pkgs-dirs --yes" can avoide this error.

adalal78 commented 3 months ago

Hello. I'm facing this issue right now. Not sure if this really did get resolved? Any help would be greatly appreciated.