You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ASP.NET Core application targeting .NET 8 with a container image built using the DefaultContainer profile.
Since updating to preview 6 of the SDK I've noticed that the application no longer runs as the app user. I initially thought that it was an issue with the base image but I've found that I can only replicate it when building the container image using the SDK publish profile.
I think it's related to this change to the app user UID in the base image as there is still an open issue here about the UID being hard-coded in places instead of using the APP_UID variable.
The workaround is to explicity run the container as UID 1654.
The text was updated successfully, but these errors were encountered:
More broadly we need to do processing of environment variables during image construction and programmatically set the user if we see the new environment variables, instead of hard coding it as we do now
This is similar to what we need to do for ASPNETCORE_URLS and Container ports, which I wrote up yesterday.
I have an ASP.NET Core application targeting .NET 8 with a container image built using the
DefaultContainer
profile.Since updating to preview 6 of the SDK I've noticed that the application no longer runs as the app user. I initially thought that it was an issue with the base image but I've found that I can only replicate it when building the container image using the SDK publish profile.
I think it's related to this change to the app user UID in the base image as there is still an open issue here about the UID being hard-coded in places instead of using the
APP_UID
variable.The workaround is to explicity run the container as UID 1654.
The text was updated successfully, but these errors were encountered: