CASSANDRA-20181: Fix cqlsh docker build failure on 5.0#4632
Open
arvindKandpal-ksolves wants to merge 1 commit intoapache:cassandra-5.0from
Open
CASSANDRA-20181: Fix cqlsh docker build failure on 5.0#4632arvindKandpal-ksolves wants to merge 1 commit intoapache:cassandra-5.0from
arvindKandpal-ksolves wants to merge 1 commit intoapache:cassandra-5.0from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a backport of the fix for CASSANDRA-20181 to the
cassandra-5.0branch.The Docker build environments for
cqlshwere failing because the previous base image (ubuntu:bionic) is EOL and does not support the required Python versions.Changes
ubuntu:focal(20.04).ubuntu:focal(20.04).ubuntu:jammy(22.04) and addedDEBIAN_FRONTEND=noninteractiveto prevent build hangs duringtzdataconfiguration.Verification
I have verified the fix locally by running the build commands for the 5.0 branch:
docker build . -f pylib/Dockerfile.ubuntu.py3 -t test-py3-5.0docker build . -f pylib/Dockerfile.ubuntu.py38 -t test-py38-5.0docker build . -f pylib/Dockerfile.ubuntu.py311 -t test-py311-5.0All builds completed successfully.
patch by Arvind Kandpal; for CASSANDRA-20181