-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add sudo and apt for MicroBuild install in aspnetcore pipelines #1208
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 | |
|
||
RUN tdnf update -y && \ | ||
tdnf install -y \ | ||
# Needed to install MicroBuild in Azure DevOps pipelines | ||
sudo \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As a rule, we don't want to install |
||
apt \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is no |
||
# Provides 'su', required by Azure DevOps | ||
ca-certificates \ | ||
git \ | ||
|
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.
I don't know what this package is but it doesn't give you an
apt
command. The package manager for Alpine isapk
. The MicroBuild script should support that if it doesn't already.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.
Ah okay yeah the MicroBuild install script fails because it tries to install nuget via
sudo apt install nuget
. I'll see if I can find a workaround, and if not I'll file an issue against them for this.