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": {
|
"options": {
|
||||||
"version": {
|
"version": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"proposals": ["latest"],
|
"proposals": [
|
||||||
|
"latest"
|
||||||
|
],
|
||||||
"default": "latest",
|
"default": "latest",
|
||||||
"description": "Select or enter an anaconda version."
|
"description": "Select or enter an anaconda version."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"containerEnv": {
|
||||||
|
"CONDA_DIR": "/usr/local/conda",
|
||||||
|
"PATH": "${CONDA_DIR}/bin:${PATH}"
|
||||||
|
},
|
||||||
"install": {
|
"install": {
|
||||||
"app": "",
|
"app": "",
|
||||||
"file": "install.sh"
|
"file": "install.sh"
|
||||||
|
|
|
@ -10,9 +10,10 @@
|
||||||
# Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag]
|
# Syntax: ./anaconda-debian.sh [Conda version] [CONDA_DIR] [Non-root user] [Add rc files flag]
|
||||||
|
|
||||||
VERSION=${1:-"latest"}
|
VERSION=${1:-"latest"}
|
||||||
export CONDA_DIR=${2:-"/usr/local/conda"}
|
USERNAME=${2:-"automatic"}
|
||||||
USERNAME=${3:-"automatic"}
|
UPDATE_RC=${3:-"true"}
|
||||||
UPDATE_RC=${4:-"true"}
|
|
||||||
|
CONDA_DIR=${CONDA_DIR:-"/usr/local/conda"}
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
Loading…
Reference in a new issue