Skip to content

Commit

Permalink
Versionator Updating versions for python and package.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedivm committed Jan 21, 2024
1 parent 8d26c19 commit 1fe2af2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```


Expand All @@ -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
```


Expand All @@ -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
Expand Down Expand Up @@ -149,43 +149,43 @@ If you get use out of these containers please consider sponsoring me using Githu
</center>

## 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
Expand Down

0 comments on commit 1fe2af2

Please sign in to comment.