Pārlūkot izejas kodu

Merge pull request #1761 from wglambert/master

Add notice about /usr/bin/python
Tianon Gravi 5 gadi atpakaļ
vecāks
revīzija
8e8de79d53
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      python/content.md

+ 4 - 0
python/content.md

@@ -58,3 +58,7 @@ or (again, if you need to use Python 2):
 ```console
 $ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp %%IMAGE%%: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