fix oryx path

This commit is contained in:
Samruddhi Khandale 2022-06-09 22:59:06 +00:00 committed by GitHub
parent 99bfaeb5ab
commit a81ff33fda
2 changed files with 4 additions and 3 deletions

View file

@ -2,10 +2,11 @@
"id": "oryx",
"name": "Oryx",
"containerEnv": {
"PATH": "usr/local/oryx:${PATH}",
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
"ENABLE_DYNAMIC_INSTALL": "true",
"DYNAMIC_INSTALL_ROOT_DIR": "/tmp/oryx-platforms"
"DYNAMIC_INSTALL_ROOT_DIR": "/tmp/oryx-platforms",
"ORYX_DIR": "/usr/local/oryx",
"PATH": "${ORYX_DIR}:${PATH}"
},
"install": {
"app": "",

View file

@ -122,7 +122,7 @@ if ! oryx --version > /dev/null ; then
mkdir -p "${ORYX_INSTALL_DIR}"
chown -R ${USERNAME} "${ORYX_INSTALL_DIR}"
updaterc "export PATH=$PATH:/usr/local/oryx && export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR"
updaterc "export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR"
fi
echo "Done!"