Skip to content

Redundant ENV DOTNET_RUNNING_IN_CONTAINER=true within SDK Dockerfiles #1983

Closed
@MichaelSimons

Description

@MichaelSimons

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.

#1848
#1832

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions