I have the following code in my Dockerfile:
FROM alpine/git as clone
WORKDIR /app
RUN git clone https://github.com/spring-projects/spring-petclinic.git
However, I'm getting this error:
fatal: unable to access 'https://github.com/spring-projects/spring-petclinic.git/': SSL certificate problem: self signed certificate in certificate chain
I actually have a local git and I can't disable SSL certificate.