Bläddra i källkod

Run update.sh

Docker Library Bot 5 år sedan
förälder
incheckning
0e395d05c5
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      python/README.md

+ 4 - 0
python/README.md

@@ -168,6 +168,10 @@ or (again, if you need to use Python 2):
 $ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp python:2 python your-daemon-or-script.py
 ```
 
+## Multiple Python versions in the image
+
+In the non `python:slim` variants there will be an additional older `python` executable at `/usr/bin/python` while the desired newer `/usr/local/bin/python` is the default choice in the `$PATH`. This is an unfortunate side-effect of using the `buildpack-deps` image in the non-slim variants
+
 # Image Variants
 
 The `python` images come in many flavors, each designed for a specific use case.