Skip to content

Commit

Permalink
Modified docker file to use wget instead of curl (#3058)
Browse files Browse the repository at this point in the history
For some weird reason, I couldn't compile the script with python version 3 - seems like the curl command was having issues downloading the miniconda script. Hence modified the script to use wget instead of curl. This solved my problem.
  • Loading branch information
Jayanth-kumar5566 authored Apr 3, 2022
1 parent a98bb57 commit 075f921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
curl \
wget \
ca-certificates && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -33,7 +33,7 @@ RUN bash -c 'if [ ${ostype} == Linux ]; then groupadd -r --gid ${gid} ${USER_NAM
USER ${USER_NAME}

# Install conda
RUN curl -o ~/miniconda.sh -O \
RUN wget -O ~/miniconda.sh \
https://repo.continuum.io/miniconda/Miniconda${python_version%%.*}-latest-Linux-x86_64.sh && \
bash ~/miniconda.sh -f -b -p ${CONDA_DIR} && \
rm ~/miniconda.sh && \
Expand Down

0 comments on commit 075f921

Please sign in to comment.