-
Notifications
You must be signed in to change notification settings - Fork 30
Dockerfiles: Make python always execute python3 #245
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -105,6 +105,8 @@ RUN apt-get update -q && apt-get install -yq \ | |
| python3-setuptools \ | ||
| # to install several Python packages (done by individual jobs) | ||
| python3-venv \ | ||
| # make `python` invoke `python3` | ||
| python-is-python3 \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Historically, we used Even if it's ok to no longer care about Python 2, I don't think we should use
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix for
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also needed on |
||
| # provides some useful scripts for adding and removing repositories | ||
| software-properties-common \ | ||
| # for test_driver.py (since TF-PSA-Crypto 1.1) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also needed on 16.04 (but we want
/usr/local/bin/python3there, not/usr/bin/python3which is too old).