Skip to content

Alpine-based Docker image with Python 3.7-3.11 support. Multi-arch for cross-platform compatibility.

License

Notifications You must be signed in to change notification settings

0xnu/python_docker

Repository files navigation

Docker Image for Python

The Docker image provides a lightweight Alpine-based environment supporting multiple Python versions (3.7 to 3.11). The image is built for multiple architectures, ensuring compatibility across different platforms.

Supported Python Versions

  • Python 3.7
  • Python 3.8
  • Python 3.9
  • Python 3.10
  • Python 3.11

Usage

Pull the image:

docker pull 0xnu20/python

To run a container with a specific Python version, use the following command:

docker run --rm 0xnu20/python:latest python3 -c 'print("Honey badger!")'

Running the command above will output Honey badger! in your terminal. Alternatively, you can run Docker container in interactive mode with:

docker run -it --rm 0xnu20/python:latest python3

🐍📦 the image supports pip and pip3.

License

This project is licensed under the MIT License.

Copyright

(c) 2024 Finbarrs Oketunji.

About

Alpine-based Docker image with Python 3.7-3.11 support. Multi-arch for cross-platform compatibility.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published