-
Notifications
You must be signed in to change notification settings - Fork 16
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
Using repo2docker for local debugging/builds of mybinder.org repos #1
Comments
cc @mmatyi because as far as I can tell you aren't watching the repo and doing the committing. |
@betatim I see that a new image is built every time we push something to the repo (besides any of the config files in the folder binder/): is this normal? Anyway we can avoid it (e.g. providing the docker image) ? |
mybinder.org builds a new image for every commit. What a lot of people do is create a tag in git that they use in links they give out to users. So something like https://mybinder.org/v2/gh/eurostat/statistics-coded/some-tag-you-made. Then you can work on your repository and when there are enough changes to update the image (maybe once a day or once a week?) you move the tag. The only downside is that new content doesn't appear in the binder instance until you move the tag. In general to try and speed up build times I'd try and consolidate the many files you have in the |
@betatim Thanks for your help...and your patience! That's pretty clear, and actually that was already from the front page of mybinder. I should have checked that earlier! Thanks again! |
Hi 👋 !
I am one of the project leads for mybinder.org and saw you are doing some fairly complex stuff in your
Dockerfile
as well as rebuilding the repo a lot. Wanted to point you towards http://repo2docker.readthedocs.io/ which is the tool we use on mybinder.org that you can run locally. I find that with running it locally I get much faster turn around on debugging and easier to read logs. I don't know if you are debugging, just an educated guess :)Super cool to see people from eurostat interested in Binder and making the data you have easier to access!
The text was updated successfully, but these errors were encountered: