Skip to content

Bump python from 3.11.11-slim-bookworm to 3.13.4-slim-bookworm #12570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2025

Bumps python from 3.11.11-slim-bookworm to 3.13.4-slim-bookworm.

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
python [>= 3.9.a, < 3.10]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps python from 3.11.11-slim-bookworm to 3.13.4-slim-bookworm.

---
updated-dependencies:
- dependency-name: python
  dependency-version: 3.13.4-slim-bookworm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file docker labels Jun 9, 2025
@dependabot dependabot bot requested review from Maffooch and mtesauro as code owners June 9, 2025 13:40
@dependabot dependabot bot added docker dependencies Pull requests that update a dependency file labels Jun 9, 2025
Copy link

dryrunsecurity bot commented Jun 9, 2025

DryRun Security

This pull request improves supply chain security by updating Docker base images to use specific SHA256 digests in both Dockerfile.nginx-alpine and Dockerfile.nginx-debian, which prevents potential unauthorized image modifications and ensures reproducible builds.

⚠️ Supply Chain Security in Dockerfile.nginx-alpine
Vulnerability Supply Chain Security
Description The change from a tag-based to a digest-based image reference is a security best practice. By using the specific SHA256 digest, the build ensures exact image reproducibility, preventing potential unauthorized or unintended image modifications. This mitigates risks of pulling unexpected or potentially compromised image versions.

# Dockerfile.django-alpine to use the caching mechanism of Docker.
# Ref: https://devguide.python.org/#branchstatus
FROM python:3.13.3-alpine3.20@sha256:40a4559d3d6b2117b1fbe426f17d55b9100fa40609733a1d0c3f39e2151d4b33 AS base
FROM base AS build
WORKDIR /app

⚠️ Supply Chain Security in Dockerfile.nginx-debian
Vulnerability Supply Chain Security
Description Similar to hunk_id 2, this change pins the Docker base image to a specific SHA256 digest. This approach prevents potential supply chain attacks by ensuring the exact same image content is used across builds, eliminating risks associated with mutable image tags that could be inadvertently or maliciously altered.

# Dockerfile.django-debian to use the caching mechanism of Docker.
# Ref: https://devguide.python.org/#branchstatus
FROM python:3.13.4-slim-bookworm@sha256:d97b595c5f4ac718102e5a5a91adaf04b22e852961a698411637c718d45867c8 AS base
FROM base AS build
WORKDIR /app
RUN \


All finding details can be found in the DryRun Security Dashboard.

@@ -5,7 +5,7 @@
# Dockerfile.nginx to use the caching mechanism of Docker.

# Ref: https://devguide.python.org/#branchstatus
FROM python:3.11.11-alpine3.21@sha256:9af3561825050da182afc74b106388af570b99c500a69c8216263aa245a2001b AS base
FROM python:3.13.4-alpine3.21@sha256:70f816e6bc36b178b2629c10b44b6ff7735c1ffc75d3b1d871f85490a4e62310 AS base
Copy link
Contributor

Choose a reason for hiding this comment

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

This will need to be tested before we consider this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant