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
@fbeltrao - Thanks for logging this issue. When fixing this, I don't think we should be simply renaming the existing variable in the nanoserver images to be singular. As you noted in the PR this is considered a breaking change.
Since 2.1 is going to be LTSC, I am in favor of adding the singular version. In the 2.2 images (which are in preview) and going forward, we can make the correction so that there is only on variable.
Steps to reproduce the issue
Expected behavior
Both base image define the same environment variable name
Actual behavior
They have distinct environment variable names
Reference files
https://github.com/dotnet/dotnet-docker/blob/master/2.1/aspnetcore-runtime/nanoserver-1709/amd64/Dockerfile#L36
https://github.com/dotnet/dotnet-docker/blob/master/2.1/runtime-deps/stretch-slim/amd64/Dockerfile#L21
My proposed solution would be to change all windows based images to use DOTNET_RUNNING_IN_CONTAINER (singular). See them here
I have created PR 678 as an optional solution.
The text was updated successfully, but these errors were encountered: