Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build process error (Miniconda installation) #1

Open
jacobmorra opened this issue May 8, 2024 · 0 comments
Open

Docker build process error (Miniconda installation) #1

jacobmorra opened this issue May 8, 2024 · 0 comments

Comments

@jacobmorra
Copy link
Collaborator

OS: Ubuntu 22.04.4 LTS || GNOME Version 42.9 || CPU: Intel® Core™ i7-7700K CPU @ 4.20GHz × 8 || GPU: NVIDIA GeForce GTX 1080 Ti

I encounter the following error during the docker build process (docker build --pull=false --rm -f "Dockerfile" -t hcev4:latest ".")..

ERROR: failed to solve: process "/bin/sh -c export PATH="/opt/miniconda-latest/bin:$PATH" && echo "Downloading Miniconda installer ..." && conda_installer="/tmp/miniconda.sh" && curl -fsSL --retry 5 -o "$conda_installer" https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash "$conda_installer" -b -p /opt/miniconda-latest && rm -f "$conda_installer" && conda update -yq -nbase conda && conda config --system --prepend channels conda-forge && conda config --system --set auto_update_conda false && conda config --system --set show_channel_urls true && sync && conda clean -y --all && sync && conda env create -f /home/hce_user/hce_workdir/hce_gpu.yml && sync && conda clean -y --all && sync" did not complete successfully: exit code: 60

FIX: Update the CA certificates

sudo apt-get update
sudo apt-get install --reinstall ca-certificates

Alternate fix (not recommended for production):
*Add -k option to curl
&& curl -k -fsSL --retry 5 -o "$conda_installer" https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant