Sign inSign up

ursamajorlab/hirsute-python

By ursamajorlab

•Updated almost 5 years ago

Ubuntu 21.04 with Python 3.9.7 built with optimisations and the latest openSSL 3.0.0

Image
0

319

ursamajorlab/hirsute-python repository overview

⁠python-ubuntu-image

A Ubuntu Docker image with the latest Python version built with optimisations and the latest openSSL

⁠Source code

These images are built, tested and deployed using CI/CD. The source is available on GitHub⁠

⁠Images

The images can be accessed using docker pull <image name>.

UbuntuPythonImage name
20.043.9.7ursamajorlab/focal-python:3.9.7
20.043.10.0rc2ursamajorlab/focal-python:3.10.0rc2
21.043.9.7ursamajorlab/hirsute-python:3.9.7
21.043.10.0rc2ursamajorlab/hirsute-python:3.10.0rc2

⁠Rationale

Other images are either relying on the outdated Python provided by the distro, or building it from source against an outdated version of openSSL.

The Dockerfile of these versions also often consists of a single stage, which makes the code harder to read and tend to leave behind some unnecessary files (dev headers for packages, etc).

Here, we build Python from source against the latest openSSL version, making sure to use the RPATH correctly to link to the right version. The first stage installs the

⁠Contribute

Feel free to suggest improvements and submit PR, always much appreciated :)

Tag summary

Content type

Image

Digest

Size

89.6 MB

Last updated

almost 5 years ago

docker pull ursamajorlab/hirsute-python:3.9.7