Skip to content

Commit

Permalink
use install args instead of here string
Browse files Browse the repository at this point in the history
  • Loading branch information
ahirner committed Apr 16, 2022
1 parent 294f689 commit 1a630d6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docker/python-base/install_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
set -euo pipefail

curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh
# intro accept, accept license, install at historical conda location, don't run conda init
bash Mambaforge-$(uname)-$(uname -m).sh << EOF
yes
/opt/conda
no
EOF

# install at historical conda location, don't run conda init
bash Mambaforge-$(uname)-$(uname -m).sh -b -p /opt/conda -s
rm Mambaforge-$(uname)-$(uname -m).sh

# activate in current and future sessions
Expand Down

0 comments on commit 1a630d6

Please sign in to comment.