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

docker registry: handle subdirectories in custom registries #1269

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

ctr26
Copy link
Contributor

@ctr26 ctr26 commented Feb 19, 2021

Fixed image name splitting in manifest for this case:
"dockerhub.ebi.ac.uk/bioimagearchive/k8s-jupyterhub/binder-ebibiostudies-2dbiostudies-2dnotebooks-c728a8:7f8fe051826f19933283b7a4dfe975b62a1e17ba"

Tested on:

"registry.hub.docker.com/nvidia/cuda:11.2.1-devel-ubuntu20.04"

Background:

Binderhub can pull my images and push them to our gitlab docker registry, but it can't find manifest files, I think this patch fixes this and doesn't break every other container repo

closes #1267

Fixed image name splitting in manifest for this case  
"dockerhub.ebi.ac.uk/bioimagearchive/k8s-jupyterhub/binder-ebibiostudies-2dbiostudies-2dnotebooks-c728a8:7f8fe051826f19933283b7a4dfe975b62a1e17ba"

Tested on:

"registry.hub.docker.com/nvidia/cuda:11.2.1-devel-ubuntu20.04"
@welcome
Copy link

welcome bot commented Feb 19, 2021

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@minrk minrk changed the title Update builder.py docker registry: handle subdirectories in custom registries Mar 25, 2021
@minrk minrk merged commit 5c6afe8 into jupyterhub:master Mar 25, 2021
@welcome
Copy link

welcome bot commented Mar 25, 2021

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@minrk
Copy link
Member

minrk commented Mar 25, 2021

Thanks!

consideRatio pushed a commit to jupyterhub/helm-chart that referenced this pull request Mar 25, 2021
@ctr26
Copy link
Contributor Author

ctr26 commented Mar 25, 2021

I should note that this PR solves this problem better and more completely than mine:

#986

@minrk
Copy link
Member

minrk commented Mar 26, 2021

@ctr26 thanks. Note that we've reverted this because it broke several mybinder.org federation members. Let's try to revive #986

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

Successfully merging this pull request may close these issues.

Binderhub always tries to build ignoring any prebuilds
2 participants