diff --git a/Distroless/distroless-pip/23.3.1/24.03-lts/Distrofile b/Distroless/distroless-pip/23.3.1/24.03-lts/Distrofile new file mode 100644 index 0000000000000000000000000000000000000000..5905cfc94bc021130d03ea6eefe29b4f5ac623ce --- /dev/null +++ b/Distroless/distroless-pip/23.3.1/24.03-lts/Distrofile @@ -0,0 +1,9 @@ +name: distroless-pip +summary: summary for distroless-pip +base: scratch +release: 24.03-LTS +platforms: + - linux/amd64 + - linux/arm64 +parts: + - python3-pip_bins \ No newline at end of file diff --git a/Distroless/distroless-pip/README.md b/Distroless/distroless-pip/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c6bddf687bda5c78dc9dba2e2ee4b7e53af350d9 --- /dev/null +++ b/Distroless/distroless-pip/README.md @@ -0,0 +1,35 @@ +# Quick reference + +- The official distroless-pip docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# distroless-pip | 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. + +# Supported tags and respective Dockerfile links +The tag details are as follows +| Tag | Currently | Architectures | +|----------|-------------|------------------| +|[23.3.1-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Distroless/distroless-pip/23.3.1/24.03-lts/Distrofile)| PIP 23.3.1 on openEuler 24.03-LTS | amd64, arm64 | + +# Usage +**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 +``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Distroless/distroless-pip/meta.yml b/Distroless/distroless-pip/meta.yml new file mode 100644 index 0000000000000000000000000000000000000000..ca3359bbc0169514b6993698053e0962eeb61dca --- /dev/null +++ b/Distroless/distroless-pip/meta.yml @@ -0,0 +1,2 @@ +23.3.1-oe2403lts: + path: 23.3.1/24.03-lts/Distrofile \ No newline at end of file diff --git a/Distroless/image-list.yml b/Distroless/image-list.yml index b2e81db395afca75ff1dd22dd58b7ca991d2687c..acb89c8bb3b6b9c270ae8d53da3e599f6312ecc3 100644 --- a/Distroless/image-list.yml +++ b/Distroless/image-list.yml @@ -6,4 +6,5 @@ images: distroless-cc: distroless-cc distroless-base: distroless-base distroless-php: distroless-php + distroless-pip: distroless-pip distroless-ruby: distroless-ruby