Skip to content

Conversation

@g0blin79
Copy link
Member

@g0blin79 g0blin79 commented Dec 2, 2025

No description provided.

@g0blin79 g0blin79 linked an issue Dec 2, 2025 that may be closed by this pull request
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 8 to 11
apt-get update && apt-get install -y --no-install-recommends python3 python3-distutils python3-pip; \
\
# install ansible
pip install --no-cache-dir ansible-core==${ANSIBLE_CORE_VERSION}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Allow pip system install for ansible on bookworm

The ansible build stage installs python3-pip from Debian bookworm and then runs pip install --no-cache-dir ansible-core==${ANSIBLE_CORE_VERSION} without --break-system-packages. Debian’s patched pip refuses to modify the system interpreter unless that flag is provided (see /usr/lib/python3.11/EXTERNALLY-MANAGED), so this step will abort with an “externally-managed-environment” error and the image build fails. All other Debian-based Dockerfiles in this commit include the flag, so it looks accidental. Please add --break-system-packages to the pip invocation in this stage.

Useful? React with 👍 / 👎.

Comment on lines 8 to 11
apt-get update && apt-get install -y --no-install-recommends python3 python3-distutils python3-pip; \
\
# install ansible
pip install --no-cache-dir ansible-core==${ANSIBLE_CORE_VERSION}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add break-system-packages for trixie ansible install

The new trixie ansible stage also invokes pip install --no-cache-dir ansible-core==${ANSIBLE_CORE_VERSION} without --break-system-packages. On Debian trixie the pip package is externally managed and will reject global installs unless that flag is present, causing the build to fail before the final image is produced. Consider aligning this pip command with the other Debian-based Dockerfiles in the repo by adding --break-system-packages.

Useful? React with 👍 / 👎.

@g0blin79 g0blin79 force-pushed the 37_update_docker_images_at_php_latest_versions branch from be0101e to 39a4f74 Compare December 2, 2025 15:00
@g0blin79 g0blin79 force-pushed the 37_update_docker_images_at_php_latest_versions branch from 39a4f74 to 1641f2c Compare December 2, 2025 15:06
@g0blin79 g0blin79 merged commit 46def69 into main Dec 2, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docker images at php latest versions

2 participants