Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample full Dockerfile #43

Open
pgensler opened this issue Oct 23, 2017 · 4 comments
Open

Sample full Dockerfile #43

pgensler opened this issue Oct 23, 2017 · 4 comments

Comments

@pgensler
Copy link

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.

@HeidiSeibold
Copy link
Collaborator

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?

@pgensler
Copy link
Author

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

@HeidiSeibold
Copy link
Collaborator

Wow @pgensler! This is an extensive blog post 👏 😮 . 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! 🎉

@pgensler
Copy link
Author

pgensler commented Nov 25, 2017

@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.........

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants