fix anaconda pathing
This commit is contained in:
parent
04f5d29fd0
commit
eb6ed37deb
2 changed files with 11 additions and 4 deletions
|
@ -4,11 +4,17 @@
|
|||
"options": {
|
||||
"version": {
|
||||
"type": "string",
|
||||
"proposals": ["latest"],
|
||||
"proposals": [
|
||||
"latest"
|
||||
],
|
||||
"default": "latest",
|
||||
"description": "Select or enter an anaconda version."
|
||||
}
|
||||
},
|
||||
"containerEnv": {
|
||||
"CONDA_DIR": "/usr/local/conda",
|
||||
"PATH": "${CONDA_DIR}/bin:${PATH}"
|
||||
},
|
||||
"install": {
|
||||
"app": "",
|
||||
"file": "install.sh"
|
||||
|
|
|
@ -10,9 +10,10 @@
|
|||
# Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag]
|
||||
|
||||
VERSION=${1:-"latest"}
|
||||
export CONDA_DIR=${2:-"/usr/local/conda"}
|
||||
USERNAME=${3:-"automatic"}
|
||||
UPDATE_RC=${4:-"true"}
|
||||
USERNAME=${2:-"automatic"}
|
||||
UPDATE_RC=${3:-"true"}
|
||||
|
||||
CONDA_DIR=${CONDA_DIR:-"/usr/local/conda"}
|
||||
|
||||
set -eux
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
|
Loading…
Reference in a new issue