Skip to content

Use versioned python3 command in scripts #48221

Closed
@sbomer

Description

We would like to establish a simplified and generalized pattern for defining helix container images in our infrastructure, and reduce the number of workarounds required to satisfy specific test scenarios, such as https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/e2ac99efb806885c8c253fa80aa65ca98e4ac3bb/src/almalinux/8/helix/amd64/Dockerfile#L22-L23.

To this end, aspnetcore should replace uses of unversioned python with the specific versioned executable (python3 unless there are python2 uses not covered by the test runs that I switched over to this image in #47970). This is in line with the best practice advice in https://developers.redhat.com/blog/2018/08/13/install-python3-rhel#python-tips.

cc @richlander

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworktask

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions