File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
99UPDATE_RC=" ${UPDATE_RC:- " true" } "
1010
1111MICROSOFT_GPG_KEYS_URI=" https://packages.microsoft.com/keys/microsoft.asc"
12+ # Pin Oryx to a specific commit to avoid breaking changes
13+ # Last stable commit before ISourceRepo.GetFileSize breaking change (2026-01-13)
14+ # See: https://github.com/microsoft/Oryx/commit/21c559437d69cb43fd9b34f01f68c43ea4bce318
15+ ORYX_COMMIT=" 0243a804b56d92febdb15cab01f98bbb168baa3b"
1216
1317set -eu
1418
@@ -177,11 +181,9 @@ GIT_ORYX=/opt/tmp/oryx-repo
177181mkdir -p ${BUILD_SCRIPT_GENERATOR}
178182mkdir -p ${ORYX}
179183
180- # Pin to commit before ISourceRepo.GetFileSize breaking change (2026-01-13)
181- # See: https://github.com/microsoft/Oryx/commit/21c559437d69cb43fd9b34f01f68c43ea4bce318
182184git clone https://github.com/microsoft/Oryx $GIT_ORYX
183185cd $GIT_ORYX
184- git checkout 0243a804b56d92febdb15cab01f98bbb168baa3b
186+ git checkout $ORYX_COMMIT
185187cd -
186188
187189if [[ " ${PINNED_SDK_VERSION} " != " " ]]; then
You can’t perform that action at this time.
0 commit comments