Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Python version in Docker. #4903

Closed
NikolayCherniy opened this issue Mar 5, 2024 · 1 comment · Fixed by #4905
Closed

Incorrect Python version in Docker. #4903

NikolayCherniy opened this issue Mar 5, 2024 · 1 comment · Fixed by #4905
Labels

Comments

@NikolayCherniy
Copy link

NikolayCherniy commented Mar 5, 2024

What happened?

Aliases for Docker image builds aren't functioning as intended. Currently, Python version 3.11 is specified, but the image is built from 3.12 because aliases aren't used in stages 2 and 3, and the reference to Python is made without specifying the version. As a result, besides having the incorrect Python version, each image also occupies about ~1.5 gigabytes instead of ~800 megabytes.

What should've happened instead?

The image should be built based on the base image with the specified version.

@browniebroke
Copy link
Member

Good catch, I believe it has been introduced in #4804, where the aliases were changed to docker.io/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants