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 #10

Closed radioflyer28 closed 1 year ago

radioflyer28 commented 2 years ago

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 2 years ago

Sorry for not seeing this until now, @radioflyer28 . Care to make a PR?

radioflyer28 commented 2 years ago

Sorry for not seeing this until now, @radioflyer28 . Care to make a PR?

Sure, I'd be happy to do one

radioflyer28 commented 2 years ago

@radarku just bumping this into your inbox again, see pull request above