diff --git a/docker/Dockerfile b/docker/Dockerfile
index 793343a26017..361d409f990c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -115,8 +115,8 @@ RUN sed -i \
         -e '$ a workers_prev_releases = {}' \
         /home/pokybuild/yocto-controller/yoctoabb/config.py && \
     sed -i \
-        # Use git protocol instead of ssh
-        -e "s#ssh://git@push\.\(yoctoproject.org\|openembedded.org\)/#git://git.\1/#" \
+        # Use https instead of ssh
+        -e "s#ssh://git@push\.\(yoctoproject.org\|openembedded.org\)/#https://git.\1/#" \
         /home/pokybuild/yocto-autobuilder-helper/config.json && \
     sed -i \
         # imp was removed in python 3.12, switch to importlib \
