Dear BioC team,
I noticed that all of the BioC docker images are based on the rocker/rstudio image, which contains Rstudio-server. I am a big fan of Rstudio's products myself, but Rstudio-server uses the AGPL licsense, which cannot be used within certain commercial organizations.
Given that Rstudio-server is not a prerequisite for using Bioconductor packages, would it be possible to provide docker images based on the rocker/r-base, which does not contain the Rstudio-server product, as well (or even instead)? That way, the docker images would be useful to the largest possible number of users, even within organizations that don't allow the AGPL license.
Many thanks for taking this suggestion under consideration,
Thomas
P.S.: I noticed that the rocker/rstudio Dockerfile also installs some system-wide libraries used by Bioconductor packages, e.g. the libcurl4-openssl-dev libraries are required by RCurl. This instruction would therefore needed to be added to the bioconductor/base Dockerfile(s).
Thank you, Dan. I agree that the number of people benefiting from RStudio server is large. I will follow your advice and build my own images.
That said, docker makes it pretty easy to add a layer; removing one isn't as convenient. Starting with r-base, adding Bioconductor and - in a final layer - RStudio would've yielded the same useful product, but would've facilitated making intermediate images (e.g. without RStudio) available.
I am in awe of the automatic build scripts that that you created and it's probably not worth trying to change them at this point. But perhaps that's food for thought for the next docker project. Thanks a lot for investing so much time and thought in making these great tools available!
That would be a bit tricky as we are trying to base our images on rocker's, so it seems best (from our point of view) to start by depending on their rstudio images, and not add rstudio ourselves at the end. Otherwise we don't get the benefit of the work they have already done.
Your Dockerfile can be as simple as:
FROM bioconductor/some_image_name
RUN sudo apt-get remove -y rstudio-server # not sure of the exact package name
Completely agree, it makes total sense to take advantage of the work rocker has already invested in installing RStudio server.
Thank you for pointing out that I can include the removal step in my Dockerfile. I hadn't even thought that far, yet.
apt-get remove
didn't work for me, butremoved the tool. Now I can fully benefit from your work :-) Thanks again for making the docker images available!