From 1fe2af246774b1d5e060d307d995619768fc0a7a Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Sun, 21 Jan 2024 17:38:22 +0000 Subject: [PATCH] Versionator Updating versions for python and package. --- .github/workflows/image-build.yml | 2 +- README.md | 32 +++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/image-build.yml b/.github/workflows/image-build.yml index 72494f6..6405e09 100644 --- a/.github/workflows/image-build.yml +++ b/.github/workflows/image-build.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - python_versions: ["3.8", "3.9", "3.10", "3.11"] + python_versions: ["3.8", "3.9", "3.10", "3.11", "3.12"] package_versions: ["0.26.4", "0.27.0", "0.27.1", "0.27.2", "0.27.3"] target_base: ["full", "slim"] steps: diff --git a/README.md b/README.md index 3276ba5..546025e 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ The Full Images use the base Python Docker images as their parent. These images To pull the latest full version: ```bash -docker pull ghcr.io/multi-py/python-oso:py3.11-LATEST +docker pull ghcr.io/multi-py/python-oso:py3.12-LATEST ``` To include it in the dockerfile instead: ```dockerfile -FROM ghcr.io/multi-py/python-oso:py3.11-LATEST +FROM ghcr.io/multi-py/python-oso:py3.12-LATEST ``` ### Using the Slim Image @@ -74,13 +74,13 @@ The Slim Images use the base Python Slim Docker images as their parent. These im To pull the latest slim version: ```bash -docker pull ghcr.io/multi-py/python-oso:py3.11-slim-LATEST +docker pull ghcr.io/multi-py/python-oso:py3.12-slim-LATEST ``` To include it in the dockerfile instead: ```dockerfile -FROM ghcr.io/multi-py/python-oso:py3.11-slim-LATEST +FROM ghcr.io/multi-py/python-oso:py3.12-slim-LATEST ``` @@ -91,10 +91,10 @@ FROM ghcr.io/multi-py/python-oso:py3.11-slim-LATEST It's also possible to copy just the Python packages themselves. This is particularly useful when you want to use the precompiled libraries from multiple containers. ```dockerfile -FROM python:3.11 +FROM python:3.12 -COPY --from=ghcr.io/multi-py/python-oso:py3.11-slim-LATEST /usr/local/lib/python3.11/site-packages/* /usr/local/lib/python3.11/site-packages/ -COPY --from=ghcr.io/multi-py/python-oso:py3.11-slim-LATEST /opt/oso /opt/oso +COPY --from=ghcr.io/multi-py/python-oso:py3.12-slim-LATEST /usr/local/lib/python3.12/site-packages/* /usr/local/lib/python3.12/site-packages/ +COPY --from=ghcr.io/multi-py/python-oso:py3.12-slim-LATEST /opt/oso /opt/oso ``` @@ -105,11 +105,11 @@ COPY --from=ghcr.io/multi-py/python-oso:py3.11-slim-LATEST /opt/oso /opt/oso This project actively supports these Python versions: +* 3.12 * 3.11 * 3.10 * 3.9 * 3.8 -* 3.7 ## Image Variants @@ -149,43 +149,43 @@ If you get use out of these containers please consider sponsoring me using Githu ## Tags -* Recommended Image: `ghcr.io/multi-py/python-oso:py3.11-0.27.3` -* Slim Image: `ghcr.io/multi-py/python-oso:py3.11-slim-0.27.3` +* Recommended Image: `ghcr.io/multi-py/python-oso:py3.12-0.27.3` +* Slim Image: `ghcr.io/multi-py/python-oso:py3.12-slim-0.27.3` Tags are based on the package version, python version, and the upstream container the container is based on. | oso Version | Python Version | Full Container | Slim Container | |-----------------------|----------------|----------------|----------------| +| latest | 3.12 | py3.12-latest | py3.12-slim-latest | | latest | 3.11 | py3.11-latest | py3.11-slim-latest | | latest | 3.10 | py3.10-latest | py3.10-slim-latest | | latest | 3.9 | py3.9-latest | py3.9-slim-latest | | latest | 3.8 | py3.8-latest | py3.8-slim-latest | -| latest | 3.7 | py3.7-latest | py3.7-slim-latest | +| 0.27.3 | 3.12 | py3.12-0.27.3 | py3.12-slim-0.27.3 | | 0.27.3 | 3.11 | py3.11-0.27.3 | py3.11-slim-0.27.3 | | 0.27.3 | 3.10 | py3.10-0.27.3 | py3.10-slim-0.27.3 | | 0.27.3 | 3.9 | py3.9-0.27.3 | py3.9-slim-0.27.3 | | 0.27.3 | 3.8 | py3.8-0.27.3 | py3.8-slim-0.27.3 | -| 0.27.3 | 3.7 | py3.7-0.27.3 | py3.7-slim-0.27.3 | +| 0.27.2 | 3.12 | py3.12-0.27.2 | py3.12-slim-0.27.2 | | 0.27.2 | 3.11 | py3.11-0.27.2 | py3.11-slim-0.27.2 | | 0.27.2 | 3.10 | py3.10-0.27.2 | py3.10-slim-0.27.2 | | 0.27.2 | 3.9 | py3.9-0.27.2 | py3.9-slim-0.27.2 | | 0.27.2 | 3.8 | py3.8-0.27.2 | py3.8-slim-0.27.2 | -| 0.27.2 | 3.7 | py3.7-0.27.2 | py3.7-slim-0.27.2 | +| 0.27.1 | 3.12 | py3.12-0.27.1 | py3.12-slim-0.27.1 | | 0.27.1 | 3.11 | py3.11-0.27.1 | py3.11-slim-0.27.1 | | 0.27.1 | 3.10 | py3.10-0.27.1 | py3.10-slim-0.27.1 | | 0.27.1 | 3.9 | py3.9-0.27.1 | py3.9-slim-0.27.1 | | 0.27.1 | 3.8 | py3.8-0.27.1 | py3.8-slim-0.27.1 | -| 0.27.1 | 3.7 | py3.7-0.27.1 | py3.7-slim-0.27.1 | +| 0.27.0 | 3.12 | py3.12-0.27.0 | py3.12-slim-0.27.0 | | 0.27.0 | 3.11 | py3.11-0.27.0 | py3.11-slim-0.27.0 | | 0.27.0 | 3.10 | py3.10-0.27.0 | py3.10-slim-0.27.0 | | 0.27.0 | 3.9 | py3.9-0.27.0 | py3.9-slim-0.27.0 | | 0.27.0 | 3.8 | py3.8-0.27.0 | py3.8-slim-0.27.0 | -| 0.27.0 | 3.7 | py3.7-0.27.0 | py3.7-slim-0.27.0 | +| 0.26.4 | 3.12 | py3.12-0.26.4 | py3.12-slim-0.26.4 | | 0.26.4 | 3.11 | py3.11-0.26.4 | py3.11-slim-0.26.4 | | 0.26.4 | 3.10 | py3.10-0.26.4 | py3.10-slim-0.26.4 | | 0.26.4 | 3.9 | py3.9-0.26.4 | py3.9-slim-0.26.4 | | 0.26.4 | 3.8 | py3.8-0.26.4 | py3.8-slim-0.26.4 | -| 0.26.4 | 3.7 | py3.7-0.26.4 | py3.7-slim-0.26.4 | ### Older Tags