From aa10a5b3461439d082efe5547303d67d973dfa97 Mon Sep 17 00:00:00 2001 From: "H.Hedhly" <9963093+thehedhly@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:18:50 +0200 Subject: [PATCH 1/3] Set Readme base image to python:3.12.7-slim --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 498559a..67f941f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ In accordance with both ansible community projects, __ansible community package_ ## Build arguments | Name | description | default | |------|---------|---------| -| `BASE_IMAGE` | Base docker image. | python:3.11.7-slim | +| `BASE_IMAGE` | Base docker image. | python:3.12.7-slim | | `PYCMD` | Python binary location.
:information_source: See also `BASE_IMAGE` | /usr/local/bin/python3.11 | | `SYS_ZONEINFO` | System time zone. | Europe/Berlin | | `ANSIBLE_INSTALL_REFS` | Ansible installation package.
You can install a specific version of a ansible community package or ansible-core, e.g.:
| ansible-core | From 6dc95bf8d02dc886f3b6b9d6d8114ffd4996a82d Mon Sep 17 00:00:00 2001 From: "H.Hedhly" <9963093+thehedhly@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:22:02 +0200 Subject: [PATCH 2/3] Upgrade base image to python:3.12.7-slim - Add link to ansible/python compatibility matrix --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2b0a32c..92ae1f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,10 @@ # - https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix # and also maybe (in case want to install ansible community): # - https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-community-changelogs +# and ansible/python compatibility: +# - https://endoflife.date/ansible#compatibility # -ARG BASE_IMAGE="python:3.11.7-slim" +ARG BASE_IMAGE="python:3.12.7-slim" ARG PYCMD="/usr/local/bin/python3.11" ARG SYS_ZONEINFO="Europe/Berlin" ARG ANSIBLE_HOME="/usr/share/ansible" From b2ad5d22a16dfe3a2431a8338ea870cfee222a38 Mon Sep 17 00:00:00 2001 From: "H.Hedhly" <9963093+thehedhly@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:47:24 +0200 Subject: [PATCH 3/3] Update python cmd --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 92ae1f1..a9a9e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # - https://endoflife.date/ansible#compatibility # ARG BASE_IMAGE="python:3.12.7-slim" -ARG PYCMD="/usr/local/bin/python3.11" +ARG PYCMD="/usr/local/bin/python3.12" ARG SYS_ZONEINFO="Europe/Berlin" ARG ANSIBLE_HOME="/usr/share/ansible" ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS="-v"