Unverified Commit bff31788 authored by Samruddhi Khandale's avatar Samruddhi Khandale Committed by GitHub

Oryx: Unpin git clone from a single commit (#296)

parent 1e35500b
{ {
"id": "oryx", "id": "oryx",
"version": "1.0.10", "version": "1.0.11",
"name": "Oryx", "name": "Oryx",
"description": "Installs the oryx CLI", "description": "Installs the oryx CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/oryx", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/oryx",
......
...@@ -146,12 +146,7 @@ GIT_ORYX=/opt/tmp/oryx-repo ...@@ -146,12 +146,7 @@ GIT_ORYX=/opt/tmp/oryx-repo
mkdir -p ${BUILD_SCRIPT_GENERATOR} mkdir -p ${BUILD_SCRIPT_GENERATOR}
mkdir -p ${ORYX} mkdir -p ${ORYX}
git clone https://github.com/microsoft/Oryx $GIT_ORYX git clone --depth=1 https://github.com/microsoft/Oryx $GIT_ORYX
cd $GIT_ORYX
# https://github.com/microsoft/Oryx/commit/74e4830b3636e5cfbce5b3e3358bd5bb66a87f45 is breaking the `oryx` tool
# Pinning to a previous working commit until the upstream issue is fixed.
git reset --hard 2b19efca9729673fc259e6a817be3cc0bb73b9d5
$GIT_ORYX/build/buildSln.sh $GIT_ORYX/build/buildSln.sh
......
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