-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Images based on 3.12 still point to 3.11.2 Python #966
Comments
$ docker run -it --rm python:3.12-slim-bookworm bash
Unable to find image 'python:3.12-slim-bookworm' locally
3.12-slim-bookworm: Pulling from library/python
e3c0797c07c1: Download complete
742f4b315eb0: Download complete
da3b97defdfc: Download complete
05496fb6d95d: Download complete
Digest: sha256:8ac54da5710cdd31639bb66f5bc1888948fc2866c0b5b52913b4b33d8252e510
Status: Downloaded newer image for python:3.12-slim-bookworm
root@591192a14dfe:/# python --version
Python 3.12.6 Are you perhaps installing So similar to #885 and #927 (comment)? |
I needed virtenv so that was installed which would explain the multiple versions, I'll look for a different way to build my image without the virtenv |
You should be able to install virtualenv via |
I build a few images off of the python:3.12.*-slim-bookworm base image but anthing built on that that uses "python " still uses 3.11.2 so none of the PIP modules installed during the image creation are accessable. When I revert to a 3.11. base image, everything works.
The text was updated successfully, but these errors were encountered: