While running a docker file i am continuously getting this error, the error is occurring while cloning through https

Fatal: unable to access ‘https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git/’: server certificate verification failed. CAfile: none CRLfile: none

When I used this before, the git lone command

export GIT_SSL_NO_VERIFY=true

The image is formed but with a lot of vurnabelities. How do I fix this error

Can you please elaborate on your issue? What are you trying to do, what configs are you using, what commands are you executing, where is Docker coming into play?