Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18472

Docker images can no longer be built due to virtualenv from pip

    XMLWordPrintableJSON

Details

    Description

       => [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
      

      Attachments

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              brandon.williams Brandon Williams
              Brandon Williams
              Berenguer Blasi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: