
hardened-python
Hardened Containers images with Python.Updated 3 hours ago
Quick Pull
$ docker pull public.ecr.aws/bellsoft/hardened-python:latestOverview
About
The repository contains hardened images with Python and accompanying tools (such as pip3, wheel, setuptools).
Getting Started
The next code example demonstrates a Dockerfile that runs a Python application in a distroless image:
FROM bellsoft/hardened-python:distroless-glibc
COPY <<'EOF' hello_bellsoft.py
if __name__ == "__main__":
print("Hello BellSoft")
EOF
CMD [ "hello_bellsoft.py" ]
Hardened Containers images with Python
Hardened Containers images with Python and basic Python utilities (pip, setuptools, wheel).
Tags
X.Y-glibc- specified version of Python with GlibcX.Y-musl- specified version of Python with Muslglibc- latest Python version with Glibcmusl,latest- latest Python version with Musl
License
As with all Docker images, these also contain other software, which may be distributed under other licenses.
The list of installed software components and their licenses can be retrieved by executing the grep -E '^[PVL]:' /var/lib/apk/db/installed command.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.