Skip to content

Update ubuntu Docker tag to v24#14017

Open
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/ubuntu-24.x
Open

Update ubuntu Docker tag to v24#14017
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/ubuntu-24.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ubuntu stage major focalnoble

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners April 8, 2026 23:44
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Apr 8, 2026
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Apr 8, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 8, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the base Docker image for custom Dataflow containers from ubuntu:focal to ubuntu:noble. A critical issue was identified where this upgrade will cause the Docker build to fail due to an incompatibility between the new default Python 3.12 and the existing apache-beam version 2.40.0. To resolve this, the reviewer suggests updating apache-beam to a compatible version (e.g., 2.56.0+) in requirements.txt and updating the base Beam SDK image reference in the Dockerfile.

# limitations under the License.

FROM ubuntu:focal
FROM ubuntu:noble
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Upgrading to ubuntu:noble (Ubuntu 24.04) changes the default system Python to version 3.12. This will cause the Docker build to fail because the version of apache-beam specified in requirements.txt (2.40.0) does not support Python 3.12.

To resolve this, you'll need to update the Apache Beam dependencies to versions compatible with Python 3.12. This requires changes in other files:

  1. In dataflow/custom-containers/ubuntu/requirements.txt, upgrade apache-beam to a version that supports Python 3.12 (e.g., 2.56.0 or newer).
  2. In this Dockerfile, update the base Beam SDK image on line 20 to match the new Python and Beam versions. For example:
    COPY --from=apache/beam_python3.12_sdk:2.56.0 /opt/apache/beam /opt/apache/beam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants