Giter Club home page Giter Club logo

Comments (21)

choldgraf avatar choldgraf commented on August 11, 2024 1

Thanks for the catch! I'm pretty sure this is because of the recent DNS switch, and we're figuring out what's going wrong with the base Docker image pulling. In the meantime, all new Binder development is going on here:

https://github.com/jupyterhub/binderhub

And we'll deprecate these repos as soon as the beta version becomes the "main" website. I've got another version of this issue open here:

jupyterhub/binderhub#82

Could you keep an eye on that one for fixes etc?

from binder.

choldgraf avatar choldgraf commented on August 11, 2024 1

I think so - maybe a little bit heavy-handed (I think it has a buncha stuff like python 2 + 3, R, etc), but it should still work

from binder.

janfreyberg avatar janfreyberg commented on August 11, 2024

Cool! Didn't realise there was a switch in development strategy, but it seems like a really cool idea.

from binder.

choldgraf avatar choldgraf commented on August 11, 2024

yep - basically the JupyterHub project was already handling a lot of the same stuff that Binder did as well, so by placing JHub as the backend of Binder, improvements to that software propagate to Binder automatically...should make things more stable and easier to maintain (uhhhh....once we unbreak everything that is......)

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

so, if I'm understanding this correctly, the functionality of Binder is being incorporated into jupyterhub? Is there anything we need to do to ready our binder projects?

from binder.

choldgraf avatar choldgraf commented on August 11, 2024

The biggest difference will be that the base docker image used for all builds will be more more stripped down, so you may need to be more explicit with your dependencies.

Give it a shot at beta.mybinder.org in a couple of days once we've smoothed over some bugs!

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

from binder.

choldgraf avatar choldgraf commented on August 11, 2024

Can you open an issue at https://github.com/jupyterhub/binderhub ?

It might be buggy for a few days as we've just switched the DNS records for the website and that broke a few things

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

should I try the build again? It.... takes quite some time, since when I last checked GCC 7.1 wasn't available so I was building it from source. I also remember some issues fetching PGP public keys or something like that

from binder.

choldgraf avatar choldgraf commented on August 11, 2024

give it a shot in a couple of days...the bugs will be fixed by then + we've got a new deployment rolling out soon that will let you run shell commands (e.g. apt-get)

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

OK. Is jupyter/datascience-notebook still an appropriate base image?

from binder.

jakirkham avatar jakirkham commented on August 11, 2024

Python 2 is being removed from docker-stacks.

from binder.

yuvipanda avatar yuvipanda commented on August 11, 2024

Heya! I think I just fixed this yesterday afternoon.

from binder.

yuvipanda avatar yuvipanda commented on August 11, 2024

@janfreyberg you can also now add an 'apt.txt' to install additional debian packages (on Ubuntu 17.04) before running pip install on your requirements.txt, and an executable postBuild script that can run arbitrary user commands after the apt-get and requirements.txt have been installed. Might make it possible for you to do your things without requiring a Dockerfile!

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

When did docker-stacks switch from Debian to Ubuntu? This likely will mean I can wayyyyyyy speedup and streamline my docker image thanks to this. Namely, I no longer have to compile GCC 7.1 from source, which was really harshing my mellow.

from binder.

yuvipanda avatar yuvipanda commented on August 11, 2024

@zbeekman the default binder base image is not based on docker-stacks, just a minimal Ubuntu image that I plan on keeping up to date with latest Ubuntu releases. When you only use requirements.txt and apt.txt and postBuild, a Dockerfile is generated for you from https://github.com/jupyter/repo2docker/blob/master/repo2docker/detectors.py#L18. This is currently based off the very popular https://hub.docker.com/_/buildpack-deps/ zesty version :)

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

@yuvipanda but I can still supply a docker file of my own right? I was using docker-stacks as a base image, and it appears that they have migrated to ubuntu since I last checked... might explain my docker img build failure.

from binder.

yuvipanda avatar yuvipanda commented on August 11, 2024

@janfreyberg yep! you can still supply a dockerfile of your own and it'll be honored. I don't think they've migrated to ubuntu. Plus you should use a tag in your 'FROM' anyway to make sure your build is reproducible

from binder.

zbeekman avatar zbeekman commented on August 11, 2024

from binder.

yuvipanda avatar yuvipanda commented on August 11, 2024

@zbeekman ah, you are right! That is (welcome) news to me!

from binder.

minrk avatar minrk commented on August 11, 2024

Switching to Ubuntu and dropping Python 3 both happened last week.

from binder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.