-
Notifications
You must be signed in to change notification settings - Fork 20
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
trying to use onbuild with binder, error "unknown flag: chown" #36
Comments
After updating the Dockerfile, I am still getting the same error
|
I think you need a newer version of docker - —chown was added a few years ago. We can also make the onbuild variants not use it if we wanna support older versions of docker. If this is on Pangeo binder I think it should be fixed by the dind work @jhamman is doing. Can you try on mybinder.org to see if it works there? Also you only need the FROM line and nothing more when using the onbuild variants. |
#37 removes --chown so the onbuild variants will be compatible with older docker versions. |
I think rabernat/local_stencil_ml_examples#1 fixes it. It works on mybinder.org with this - https://mybinder.org/v2/gh/yuvipanda/local_stencil_ml_examples/master. Once #37 lands and we use that as base image, it should work on pangeo binder too. |
@rabernat - I've updated the docker version on pangeo-binder so your original onbuild example should work now. |
I'm trying out the new onbuild stuff in this repo:
https://github.com/rabernat/local_stencil_ml_examples
My Dockerfile looks like this
I got this error.
I'm going to try removing all the extra docker stuff.
The text was updated successfully, but these errors were encountered: