More Docker. Easy Access. New Streamlined Plans. Learn more.

circleci/python

Verified Publisher

By CircleCI

Updated about 3 years ago

Python is an interpreted, interactive, object-oriented, open-source programming language.

Image
99

100M+

CircleCI images for Python.

Why

Docker provides official images for popular languages and services that are aimed to work in common context, whether in development or in production. CircleCI highly recommends using them for creating custom images that are more appropriate for users.

However, we frequently found them lacking some tools making them appropriate for dev/CI use. CircleCI publishes this image to extend the images in the following ways:

  1. Common tools used in development and CI are installed e.g. git, ssh, tar, ca-certificates, curl, wget.
  2. Docker tools: latest docker, docker-compose, and dockerize are installed
  3. Variants for common use cases, e.g. images with common browsers installed and configured to run in a containized environment
  4. Use a non-root user (namely circleci) by default. Many applications refuse to run as root (e.g. chrome) or their behavior differs when run as root (e.g. tar file ownership behavior)

Aiming to have CircleCI extended images ease adoption of Docker and CircleCI. Once users are successful, we encourage users to build and customize their images to suite their individual project needs.

Notable Variants

python:<version>

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one for common tools.

python:<version>-browsers

This image makes browser testing easier. It extends the defacto image and installs Firefox and Chrome/chromedriver and configure them to run in a chrontainzied environment

Note: due to Docker Hub limitations, there may be more variants available than are displayed on the Tags page. For a complete list, along with Dockerfiles, see our circleci-public/circleci-dockerfiles repository.

User Feedback

Issues

If you have any problems with or questions about this image, please contact us on CircleCI Discuss Forum.

Docker Pull Command

docker pull circleci/python