radarku / ardupilot-sitl-docker

Docker container for ArduPilot Software-in-the-Loop Simulator
Apache License 2.0
47 stars 30 forks source link

Force Git to use HTTPS with GitHub #12

Closed radioflyer28 closed 1 year ago

radioflyer28 commented 2 years ago

Issue: https://github.com/radarku/ardupilot-sitl-docker/issues/10

Fix: Add the following to the Dockerfile after installing Git... RUN git config --global url."https://github.com/".insteadOf git://github.com/

Reason: GitHub depricated unauthenticated Git protocol on port 9418. Apparently, the Ubuntu 18.04 repo uses a depricated Git config. https://github.community/t/cant-show-pull-the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported/242962

radarku commented 1 year ago

Looks great! Thanks @radioflyer28