[ 
https://issues.apache.org/jira/browse/CASSANDRA-20181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061547#comment-18061547
 ] 

Michael Semb Wever commented on CASSANDRA-20181:
------------------------------------------------

thanks [~arvindk12] for bringing attention to this, we wouldn't have seen the 
opportunity to without you having done that!

I've added a comment to the 4.0 PR, which can be applied to all of them, to 
update the readme to keep the section about running cqlsh in docker but using 
publicly available images.  

> Instructions in pylib/README.asc for building Docker images to run cqlsh in 
> are not up-to-date
> ----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20181
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: CQL/Interpreter
>            Reporter: lanqing yang
>            Assignee: Arvind Kandpal
>            Priority: Normal
>              Labels: lhf
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> # Hi, i am trying to build and test cqlsh locally following this 
> [guide|https://github.com/lyang24/cassandra/blob/8fd44ca8fc9e0b0e94932bcd855e2833bf6ca3cb/pylib/README.asc#L34]
>  . I bypassed this with setting the python directory to 3.6 in the docker 
> file.
> should we fix the python version in the install command?
> i.e. apt-get install -y python3.8 python3.8-minimal
> {code:java}
> 11.37 update-alternatives: error: alternative path /usr/bin/python3.8 doesn't 
> exist
> ------
> Dockerfile.ubuntu.py3:18
> --------------------
>   16 |     #
>   17 |     FROM ubuntu:bionic
>   18 | >>> RUN apt-get update && apt-get install -y python3-minimal && 
> update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
>   19 |     
> --------------------
> ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install 
> -y python3-minimal && update-alternatives --install /usr/bin/python python 
> /usr/bin/python3.8 1" did not complete successfully: exit code: 2
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to