Closed baronfel closed 8 months ago
The problem here is that inference of the APP_UID user id from the base image is being unconditionally set, overriding any user-specified ContainerUser values. We should check if any ContainerUser modifications have been done before using the value from environment variables.
Closing this as we merged a hotfix.
The
ContainerUser
property can be set, but it's not being applied on the generated container manifests. This means that users that set the property toroot
to easily opt back into rootless execution will not get the expected behavior.As a workaround, users that build containers with the .NET 8 SDK targeting .NET 8 will need to have their container runtime force the
root
user until we can resolve this bug.