Skip to content

Docker build process error (Miniconda installation) #1

@jacobmorra

Description

@jacobmorra

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 \

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions