Skip to content

CASSANDRA-20181: Fix cqlsh docker build failure on 5.0#4632

Open
arvindKandpal-ksolves wants to merge 1 commit intoapache:cassandra-5.0from
arvindKandpal-ksolves:CASSANDRA-20181-5.0
Open

CASSANDRA-20181: Fix cqlsh docker build failure on 5.0#4632
arvindKandpal-ksolves wants to merge 1 commit intoapache:cassandra-5.0from
arvindKandpal-ksolves:CASSANDRA-20181-5.0

Conversation

@arvindKandpal-ksolves
Copy link
Contributor

@arvindKandpal-ksolves arvindKandpal-ksolves commented Feb 24, 2026

Description

This is a backport of the fix for CASSANDRA-20181 to the cassandra-5.0 branch.

The Docker build environments for cqlsh were failing because the previous base image (ubuntu:bionic) is EOL and does not support the required Python versions.

Changes

  • pylib/Dockerfile.ubuntu.py3: Upgraded to ubuntu:focal (20.04).
  • pylib/Dockerfile.ubuntu.py38: Upgraded to ubuntu:focal (20.04).
  • pylib/Dockerfile.ubuntu.py311: Upgraded to ubuntu:jammy (22.04) and added DEBIAN_FRONTEND=noninteractive to prevent build hangs during tzdata configuration.

Verification

I have verified the fix locally by running the build commands for the 5.0 branch:

  1. docker build . -f pylib/Dockerfile.ubuntu.py3 -t test-py3-5.0
  2. docker build . -f pylib/Dockerfile.ubuntu.py38 -t test-py38-5.0
  3. docker build . -f pylib/Dockerfile.ubuntu.py311 -t test-py311-5.0

All builds completed successfully.

patch by Arvind Kandpal; for CASSANDRA-20181

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.

1 participant