Skip to content

Commit

Permalink
Remove pinned sdk commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathiyarasy committed Nov 18, 2024
1 parent 7ba8681 commit 31e2d42
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/oryx/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,19 +158,11 @@ PINNED_SDK_VERSION=""
# Oryx needs to be built with .NET 8
if [[ "${DOTNET_BINARY}" = "" ]] || [[ $MAJOR_VERSION_ID != "8" ]] ; then
echo "'dotnet 8' was not detected. Attempting to install .NET 8 to build oryx."

# The oryx build fails with .Net 8.0.201, see https://github.com/devcontainers/images/issues/974
# Pinning it to a working version until the upstream Oryx repo updates the dependency
install_dotnet_using_apt
# PINNED_SDK_VERSION="8.0.101"
# install_dotnet_with_script ${PINNED_SDK_VERSION}

if ! dotnet --version > /dev/null ; then
echo "(!) Please install Dotnet before installing Oryx"
exit 1
fi

DOTNET_BINARY="/usr/bin/dotnet"
fi

BUILD_SCRIPT_GENERATOR=/usr/local/buildscriptgen
Expand Down

0 comments on commit 31e2d42

Please sign in to comment.