Commit 99bfaeb5 authored by Samruddhi Khandale's avatar Samruddhi Khandale Committed by GitHub

oryx: change and own DYNAMIC_INSTALL_ROOT_DIR

parent b9914bad
......@@ -5,7 +5,7 @@
"PATH": "usr/local/oryx:${PATH}",
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
"ENABLE_DYNAMIC_INSTALL": "true",
"DYNAMIC_INSTALL_ROOT_DIR": "/usr/local"
"DYNAMIC_INSTALL_ROOT_DIR": "/tmp/oryx-platforms"
},
"install": {
"app": "",
......
......@@ -118,8 +118,11 @@ if ! oryx --version > /dev/null ; then
ln -s ${BUILD_SCRIPT_GENERATOR}/GenerateBuildScript ${ORYX}/oryx
cp -f $GIT_ORYX/images/build/benv.sh ${ORYX}/benv
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=/usr/local"
chown -R ${USERNAME} /usr/local/
ORYX_INSTALL_DIR="/tmp/oryx-platforms"
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"
fi
echo "Done!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment