I've been trying to solve this problem for days and have been unsuccessful.
Here's the setup: everything is running behind a corporate firewall. I have a dockerfile with an ubuntu image. Everything is working fine behind the firewall, I've setup the certificate and the proxy setting. The only thing not working is git. I cannot clone anything.
I have setup the certificate and the proxy like this:
RUN git config --global http.proxy http://165.225.80.41:80 RUN git config --global http.sslCAPath /usr/local/share/ca-certificates/abcd/abcd.crt
RUN git config --global http.sslCAInfo /usr/local/share/ca-certificates/abcd/abcd.crt
RUN git clone https://github.com/asd/asd.git
This is what I get when I run it:
Step 39/156 : RUN git clone https://github.com/asd/asd.git
---> Running in e20ef1c7ac5d
Cloning into 'asd'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated