The official distroless-pip docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
This image contains a minimal Linux, pip runtime.
PIP is the package installer for Python. You can use it to install packages from the Python Package Index and other indexes.
The tag details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 23.3.1-oe2403lts | PIP 23.3.1 on openEuler 24.03-LTS | amd64, arm64 |
Create a Dockerfile in your python project
# Dockerfile
FROM openeuler/distroless-pip:23.3.1-oe2403lts
# Need to refresh the CA certificates
RUN update-ca-trust
# example 1
RUN pip install numpy
# example 2
RUN pip install -r requirements.txt
For implementation details, refer to the distroless-base-nonroot documentation.
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:1c6e70708…
Size
27.8 MB
Last updated
about 1 month ago
docker pull openeuler/distroless-pip:23.3.1-oe2403ltsPulls:
15
Last week