-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oryx Issue #1181
base: main
Are you sure you want to change the base?
Oryx Issue #1181
Conversation
install_dotnet_using_apt | ||
# PINNED_SDK_VERSION="8.0.101" | ||
# install_dotnet_with_script ${PINNED_SDK_VERSION} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could remove all this code and the code comment if Oryx no longer has issues with dotnet 8.0.201+ ?
|
||
if ! dotnet --version > /dev/null ; then | ||
echo "(!) Please install Dotnet before installing Oryx" | ||
exit 1 | ||
fi | ||
|
||
DOTNET_BINARY="/usr/bin/dotnet" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
install_dotnet_using_apt
function is already setting this var
@@ -192,7 +193,7 @@ echo "Building solution '$SOLUTION_FILE_NAME'..." | |||
cd $GIT_ORYX | |||
${DOTNET_BINARY} build "$SOLUTION_FILE_NAME" -c Debug | |||
|
|||
${DOTNET_BINARY} publish -property:ValidateExecutableReferencesMatchSelfContained=false -r linux-x64 -o ${BUILD_SCRIPT_GENERATOR} -c Release $GIT_ORYX/src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj | |||
${DOTNET_BINARY} publish -property:ValidateExecutableReferencesMatchSelfContained=false -r linux-x64 -o ${BUILD_SCRIPT_GENERATOR} -c Release $GIT_ORYX/src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj --self-contained true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it increase the package/feature size?
Are there any documentation from oryx that --self-contained true
should be set?
Universal Image Latest Version: Caused issue in a Pipeline
Azure DevOps Pipeline generate-kitchensink-automated Failed
This PR aims to do things: