The internal function creating the dockerfile docker_from_desc always uses remotes::install_github for any non-cran dependencies. But there's more than github!
Our company uses bitbucket but gitlab is also pretty common. Mind you, you're not the only ones to be github-centric - I have already fixed the same issues in usethis and others.
The Remote information is actually in the package description, so handling more providers is as easy as doing:
The internal function creating the dockerfile
docker_from_desc
always usesremotes::install_github
for any non-cran dependencies. But there's more than github!Our company uses
bitbucket
butgitlab
is also pretty common. Mind you, you're not the only ones to be github-centric - I have already fixed the same issues inusethis
and others.The
Remote
information is actually in the package description, so handling more providers is as easy as doing:From there it is easy to adapt
golem:::dock_from_desc
. I'll prepare a PR when I have some time.