aboutsummaryrefslogtreecommitdiff
path: root/src/oryx
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
parent14d98b7795ca6f7333cb168ca7be2fd4baf1a882 (diff)
Oryx - Fix bug when dynamically installing dotnet in universal image (#125)
* fix oryx * copy /images * bimp version
Diffstat (limited to 'src/oryx')
-rw-r--r--src/oryx/devcontainer-feature.json2
-rwxr-xr-xsrc/oryx/install.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/oryx/devcontainer-feature.json b/src/oryx/devcontainer-feature.json
index d261975..ed6fce0 100644
--- a/src/oryx/devcontainer-feature.json
+++ b/src/oryx/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "oryx",
- "version": "1.0.4",
+ "version": "1.0.5",
"name": "Oryx",
"description": "Installs the oryx CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/oryx",
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