activestate/python

Verified Publisher

By ActiveState

Updated about 11 hours ago

ActiveState's customizable, low-to-no vulnerability container image for python.

Image
Artifact
Languages & frameworks
11

8.7K

activestate/python repository overview

ActiveState Logo

ActiveState Secure Containers provide a secure base for fully customizable, low-to-no-vulnerability container images.

To have ActiveState customize an image using our catalog of over 40 million secure components, please submit your request here. Further hardening to meet compliance standards (e.g., FedRAMP, SOC 2, etc.) is available by request - simply contact us.

For additional information and support, please visit the documentation or contact us.


About this image

This is ActiveState’s minimal Python and Python Development container, bundling a secure, up-to-date Python toolchain for building and running Python applications. It stays slim while including the standard library and build tools, giving you a reliable foundation for production-ready Python images.

Disclaimer

This development container is provided “as is” solely for internal testing, evaluation, and development purposes. It is not designed, intended, or warranted for use in production environments. Use of this container in any production, commercial, or customer-facing context is at your own risk. The provider makes no warranties, express or implied, regarding the container’s performance, security, or fitness for a particular purpose.

License

See ActiveState SCA Tools Restricted License

Download this Image

docker pull activestate/python:latest

Running ActiveState Secure Containers

docker run --rm activestate/python -V

The following is a minimal example of a Dockerfile that uses a multistage build to run an app.py script after installing dependencies listed in a requirements.txt file.

FROM python:latest AS dev

WORKDIR /app

RUN python -m venv venv
ENV PATH="/app/venv/bin:$PATH"
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt

FROM activestate/python:latest

WORKDIR /app

COPY app.py app.py
COPY --from=dev /app/venv /app/venv
ENV PATH="/app/venv/bin:$PATH"

ENTRYPOINT ["python", "app.py"]

Tag summary

Content type

Image

Digest

sha256:57c32fa96

Size

272 Bytes

Last updated

about 11 hours ago

docker pull activestate/python:sha256-b3759253fc3b6b41c33bd38180dee1c2fa761766ffacc4ede0cbc0578d3cab3e.sig