-
Notifications
You must be signed in to change notification settings - Fork 30
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 run tests defined in image-tests
as root user
#111
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Hmm, not sure why this change broke all the CI/CD tests... |
The error is:
😕 |
Hoorah the tests have passed 🎉 |
We are running into this as well - anything we can do to help get this merged, @yuvipanda ? cc @sunu |
Sorry for not commenting on this earlier, but I don't think this will fix it. My vague understanding is that this only happens when using I think running as root will break (or at least cause weird artifacts) for users that are using non-Dockerfile methods with repo2docker. For now, I'd like to revert this temporarily until we hear back from @batpad (or @sunu, who may have done the actual investigation). Sorry for not raising this earlier here :( @jnywong @sgibson91 are you ok with reverting this? |
So sorry for the delay commenting here - was hoping @sunu who looked into this could explain a bit better, but he's out sick today :( I see the fix was to add something like this to the Dockerfile:
You can see the Dockerfile here: https://github.com/sunu/ghg-workshop-python-image/blob/main/Dockerfile Speaking to Yuvi a bit about this, it seems like we it maybe better to add this to the documentation as something you need to do if writing your own Dockerfile? Apologies again for not commenting here earlier with a link to our workaround / fix in the Dockerfile! |
Thanks @yuvipanda for your insight here, I trust that you know better and happy to help with documenting workarounds 👍 |
Testing a fix for jupyterhub/repo2docker-action#111
@batpad @sunu I think if sunu/ghg-workshop-python-image#1 passes tests, then we can add documentation to https://github.com/jupyterhub/repo2docker-action?tab=readme-ov-file#testing-the-built-image to the effect of:
|
Testing a fix for jupyterhub/repo2docker-action#111
Fixes #110