I'm setting up a self hosted runner behind a self-signed SSL network. I have customed runner image with our SSL certificate, and it connected to BitBucket successfully. The image that is used in `bitbucket-pipelines.yml` is also customed with SSL certificate. But when triggering new pipeline run, the new spawn container still couldn't clone the repo in `Build setup` (image below)

My `Dockerfile` looks like
RUN apt install ca-certificates -y
COPY ab.pem /usr/local/share/ca-certificates/ab.crt
RUN update-ca-certificates
RUN cp /usr/local/share/ca-certificates/ab.pem $JAVA_HOME/lib/security/ && cd $JAVA_HOME/lib/security && keytool -keystore cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias ldapcert -file ab.pem