Bug fix: git cloning another repository within Renku session

Dear users,

We would like to alert you of a bug that we have noticed in interactive sessions which may affect you. When inside a Renku project in an interactive session, running git clone on another project through HTTPS will fail with an error like this:

fatal: unable to access 'https://renkulab.io/gitlab/some.user/some-project.git/': server certificate verification failed. CAfile: none CRLfile: none

We are in the process of upgrading our base Docker images (see Fix image build and bump base image version by ableuler · Pull Request #197 · SwissDataScienceCenter/renkulab-docker · GitHub), however since this will take a little time, here is a quick fix: Add the following lines to your project’s Dockerfile:

USER root
RUN apt-get update && apt-get upgrade -y curl
USER ${NB_USER}

Note that this bug affects git submodules as well.

Please let us know if you encounter problems with the quick fix!

1 Like