Merge pull request #1761 from wglambert/master
Add notice about /usr/bin/python
This commit is contained in:
commit
8e8de79d53
|
|
@ -58,3 +58,7 @@ or (again, if you need to use Python 2):
|
||||||
```console
|
```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
|
$ 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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue