r-docker-tutorial icon indicating copy to clipboard operation
r-docker-tutorial copied to clipboard

Sample full Dockerfile

Open pgensler opened this issue 8 years ago • 4 comments

It would be nice to have a full sample dockerfile to see, as well as doing any sort of operations on removing temporary files to help clean up the container after pkg installs.

It might also be helpful to touch on how a Makevars file can be incorporated into your Dockerfile, such as compiling rstan, which requires you to have compiler flags set up in the Makevars file.

pgensler avatar Oct 23 '17 02:10 pgensler

Hi @pgensler, thanks for your interest :)

At the moment I have no time to work on this docker tutorial. You sound like you have some expertise. Would you be interested in helping?

HeidiSeibold avatar Nov 24 '17 14:11 HeidiSeibold

Hi @HeidiSeibold I wrote up a blog on creating dockerfiles for R. Maybe you can review it, and let me know if you think parts of this could be used to revamp the tutorial? https://medium.com/@peterjgensler/creating-sandbox-environments-for-r-with-docker-def54e3491a3

pgensler avatar Nov 24 '17 18:11 pgensler

Wow @pgensler! This is an extensive blog post :clap: :open_mouth: . I would love to have you on the team. I am sure you know much more about docker than I do!

If you are interested in helping with the tutorial, that would be really great since

  1. I am not actually very proficient with docker and
  2. I just don't have the time to keep it up to date (and it seems to be the same with @ttimbers, @lmguzman, @BillMills etc, right?)

So if you are interested, please help! :tada:

HeidiSeibold avatar Nov 25 '17 12:11 HeidiSeibold

@HeidiSeibold haha I don't know much about docker, I just put together all the loose ends I've found. if you like the blog, feel free to share. I don't have much of a background in research, so it might be better to see what the use case is for a normal researcher, and if this fits their needs.

Ideally, this would have linuxbrew as a package manager in addition to using something like Ubuntu and not Debian, solely because those are two widely used products that you can easily obtain support for. You could either go the route of

-make this a playground to test out packages OR -make this to reproduce a journal/paper, etc....

Thoughts? I'd prefer to use Linux Ubuntu if possible, as I think it's simply more widely used, but if there's a better reason for using Debian.........

pgensler avatar Nov 25 '17 18:11 pgensler