Skip to content

Commit 238f9b3

Browse files
Copilotabdurriq
andcommitted
Pin Oryx repository to commit before GetFileSize breaking change
Co-authored-by: abdurriq <[email protected]>
1 parent e5531ff commit 238f9b3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/oryx/install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,12 @@ GIT_ORYX=/opt/tmp/oryx-repo
177177
mkdir -p ${BUILD_SCRIPT_GENERATOR}
178178
mkdir -p ${ORYX}
179179

180-
git clone --depth=1 https://github.com/microsoft/Oryx $GIT_ORYX
180+
# Pin to commit before ISourceRepo.GetFileSize breaking change (2026-01-13)
181+
# See: https://github.com/microsoft/Oryx/commit/21c559437d69cb43fd9b34f01f68c43ea4bce318
182+
git clone https://github.com/microsoft/Oryx $GIT_ORYX
183+
cd $GIT_ORYX
184+
git checkout 0243a804b56d92febdb15cab01f98bbb168baa3b
185+
cd -
181186

182187
if [[ "${PINNED_SDK_VERSION}" != "" ]]; then
183188
cd $GIT_ORYX

0 commit comments

Comments
 (0)