Skip to content

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Apr 14, 2022

Attempt to fix #37406

@wtgodbe wtgodbe requested review from a team, Pilchie and dougbu as code owners April 14, 2022 20:09
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 14, 2022
@wtgodbe
Copy link
Member Author

wtgodbe commented Apr 14, 2022

chown: cannot access '/usr/bin/sudo': No such file or directory
The command '/bin/sh -c chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo' returned a non-zero code: 1

Not the same failure as last time, not sure what the fix for this would be though

#37192 (comment)

@dougbu
Copy link
Contributor

dougbu commented Apr 14, 2022

chown: cannot access '/usr/bin/sudo': No such file or directory

That line has been in the Dockerfile since Nate created it 😦

@dougbu
Copy link
Contributor

dougbu commented Apr 15, 2022

Excellent, we'll at least know if we use sudo when creating RPMs 😁

@wtgodbe
Copy link
Member Author

wtgodbe commented Apr 15, 2022

Back to #37192 (comment) - so, we probably need to spin our own image

@wtgodbe wtgodbe closed this May 3, 2022
@wtgodbe wtgodbe deleted the wtgodbe/TryRhel branch May 3, 2022 20:11
@wtgodbe wtgodbe restored the wtgodbe/TryRhel branch May 5, 2022 17:18
@wtgodbe wtgodbe reopened this May 5, 2022
@wtgodbe
Copy link
Member Author

wtgodbe commented May 5, 2022

Looks like this is working, @dotnet/aspnet-build any requests?

@dougbu
Copy link
Contributor

dougbu commented May 5, 2022

Doesn't have to be in this PR but we should use a MCR image in https://github.com/dotnet/aspnetcore/blob/main/src/Servers/Kestrel/test/SystemdActivation/Dockerfile

@wtgodbe wtgodbe enabled auto-merge (squash) May 5, 2022 18:50
@wtgodbe wtgodbe merged commit 3921939 into dotnet:main May 5, 2022
@ghost ghost added this to the 7.0-preview5 milestone May 5, 2022
@wtgodbe wtgodbe deleted the wtgodbe/TryRhel branch May 5, 2022 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undo workarounds added to dockerfile while updating to 7.0 SDK

2 participants