aboutsummaryrefslogtreecommitdiff
path: root/src/oryx/install.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-09-01 19:51:09 +0300
committerGitHub <noreply@github.com>2022-09-01 19:51:09 +0300
commit771a3005946be5f1d2a30020eb1e11993d1dbc74 (patch)
tree6a43c94ec1ad083da783d3b60cc6f0ed9ad954b1 /src/oryx/install.sh
parent14d98b7795ca6f7333cb168ca7be2fd4baf1a882 (diff)
Oryx - Fix bug when dynamically installing dotnet in universal image (#125)
* fix oryx * copy /images * bimp version
Diffstat (limited to 'src/oryx/install.sh')
-rwxr-xr-xsrc/oryx/install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/oryx/install.sh b/src/oryx/install.sh
index d4d189a..826d916 100755
--- a/src/oryx/install.sh
+++ b/src/oryx/install.sh
@@ -166,6 +166,10 @@ find "${ORYX_INSTALL_DIR}" -type d -print0 | xargs -n 1 -0 chmod g+s
find "${BUILD_SCRIPT_GENERATOR}" -type d -print0 | xargs -n 1 -0 chmod g+s
find "${ORYX}" -type d -print0 | xargs -n 1 -0 chmod g+s
+# /opt/tmp/build and /opt/tmp/images is required by Oryx for dynamically installing platforms
+cp -rf $GIT_ORYX/build /opt/tmp
+cp -rf $GIT_ORYX/images /opt/tmp
+
# Clean up
rm -rf $GIT_ORYX