Closed Firedrops closed 5 years ago
Thanks for the bug report. It looks like you're building on google/cloud-sdk
image instead of a Rocker image. The Rocker Dockerfiles aren't generally going to work on arbitrary base images, even if those are also debian-based (though it does look like that one is also building on stretch
).
Have you considered extending a rocker image instead to just add the google/cloud-sdk libs? (https://hub.docker.com/r/google/cloud-sdk/dockerfile). In general we don't really have the bandwidth right now to troubleshoot R configs in dockerfiles we don't maintain :/
(Also IANAL and it's up to RStudio and not me to enforce their trademark, but you might note that the Rocker project obtained the required explicit permission to package RStudio in containers we distribute).
That's a good idea.
I tried using these scripts to manually install the dependencies right before the errors above, but it does not work. The installs appear successful but docker does not detect them.
I will try basing it on rocker/verse instead, seems like a much easier way of doing things.
I'm trying to add the functions of r-verse to an existing docker, so I traced your Dockerfiles and copied each
from
back to therstudio
version.The docker is failing at the
tidyverse
part, with these messages:I see that it's having problems with pkgdown, broom, but not sure what this means or how to fix it. Does anyone here know?
My Dockerfile is here if anyone wants to see the whole code. R part starts on line 183.