Closed
Description
There are several SDK Dockerfiles which are based on aspnet
images which define ENV DOTNET_RUNNING_IN_CONTAINER=true
. This instruction is redundant and unnecessary because the environment variable is already defined within the base image hierarchy. An example is here. This redundancy is the result of some recent feature work to base the sdk
images on the aspnet
images in order to maximize layer reuse/sharing.
The redundant ENV instructions do not cause any functional differences/issues at this time but should be cleaned up none the less in order to cleanup/simplify the SDK Dockerfiles. If a change was desired to the ENV name/value, this could cause functional issue.