Brandon Williams created CASSANDRA-18472:
--------------------------------------------
Summary: Docker images can no longer be built due to python2.7
Key: CASSANDRA-18472
URL: https://issues.apache.org/jira/browse/CASSANDRA-18472
Project: Cassandra
Issue Type: Bug
Reporter: Brandon Williams
{noformat}
=> [linux/amd64 35/56] WORKDIR /home/cassandra
0.1s
=> [linux/amd64 36/56] RUN echo 'export ANT_HOME=/usr/share/ant' >>
/home/cassandra/.bashrc && echo 'export
JAVA8_HOME=/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)' >>
/home/cassandra/.b 0.2s
=> ERROR [linux/amd64 37/56] RUN virtualenv --python=python2.7 env2.7
0.5s
------
> [linux/amd64 37/56] RUN virtualenv --python=python2.7 env2.7:
#100 0.424 RuntimeError: failed to find interpreter for Builtin discover of
python_spec='python2.7'
------
ubuntu2004_j11.docker:128
--------------------
126 | # included in the base image, the compiled objects are not updated
by pip at run time, which can
127 | # cause errors if the tests rely on new driver functionality or bug
fixes.
128 | >>> RUN virtualenv --python=python2.7 env2.7
129 | RUN chmod +x env2.7/bin/activate
130 | RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1
CASS_DRIVER_NO_EXTENSIONS=1 && source ~/env2.7/bin/activate && pip2 install
--upgrade pip && pip2 install -r /opt/requirements.txt && pip2 freeze --user"
--------------------
error: failed to solve: rpc error: code = Unknown desc = process "/bin/sh -c
virtualenv --python=python2.7 env2.7" did not complete successfully: exit code:
1
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]