Skip to content

Commit

Permalink
fix: Use Miniforge to replace MambaForge (#4884)
Browse files Browse the repository at this point in the history
* Use Miniforge to replace MambaForge

* Fix download url
  • Loading branch information
pintaoz-aws authored Oct 7, 2024
1 parent 782fbfb commit f7c6cd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integ/sagemaker/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
'SHELL ["/bin/bash", "-c"]\n'
"RUN apt-get update -y \
&& apt-get install -y unzip curl\n\n"
"RUN curl -L -O 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh' \
&& bash Mambaforge-Linux-x86_64.sh -b -p '/opt/conda' \
"RUN curl -L -O 'https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh' \
&& bash Miniforge3-Linux-x86_64.sh -b -p '/opt/conda' \
&& /opt/conda/bin/conda init bash\n\n"
"ENV PATH $PATH:/opt/conda/bin\n"
"RUN mamba create -n integ_test_env python={py_version} -y \
Expand Down Expand Up @@ -86,8 +86,8 @@
'SHELL ["/bin/bash", "-c"]\n'
"RUN apt-get update -y \
&& apt-get install -y unzip curl\n\n"
"RUN curl -L -O 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh' \
&& bash Mambaforge-Linux-x86_64.sh -b -p '/opt/conda' \
"RUN curl -L -O 'https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh' \
&& bash Miniforge3-Miniforge3-Linux-x86_64.sh -b -p '/opt/conda' \
&& /opt/conda/bin/conda init bash\n\n"
"ENV PATH $PATH:/opt/conda/bin\n"
"COPY {source_archive} ./\n"
Expand Down

0 comments on commit f7c6cd3

Please sign in to comment.