Open jhamman opened 5 years ago
We need to update our packages. First step would be switching this to onbuild.
I am trying to update the environment on the cmip6-examples binder.
I am experiencing problems with the onbuild mechanism. This is .binder/Dockerfile
:
https://github.com/pangeo-data/pangeo-cmip6-examples/blob/d9773fa8face088aba40d99b5feb3d672c6d3e6e/.binder/Dockerfile#L1
And this is .binder/environment.yml
.
https://github.com/pangeo-data/pangeo-cmip6-examples/blob/d9773fa8face088aba40d99b5feb3d672c6d3e6e/.binder/environment.yml#L1-L5
I really can't figure out what is wrong. Why is the environment.yml being being ignored?
This is what the repo2docker build log looks like:
Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockerv1_8iq_i'...
HEAD is now at 70b3c35 Update environment.yml
Using DockerBuildPack builder
Step 1/1 : FROM pangeo/pangeo-notebook-onbuild:2019.09.06
# Executing 6 build triggers
---> Running in 9a4ddd3df353
Removing intermediate container 9a4ddd3df353
---> Running in 4cac61dd2c43
Removing intermediate container 4cac61dd2c43
---> Running in caa541d99a1c
Removing intermediate container caa541d99a1c
---> Running in 570d9495acad
Removing intermediate container 570d9495acad
---> 67b8b79fabf8
{"aux": {"ID": "sha256:67b8b79fabf8412d6bef107341211f51e961ec98509e8f67fb478ba91e93a82e"}}[Warning] One ormore build-args [NB_USER NB_UID] were not consumed
Successfully built 67b8b79fabf8
Successfully tagged gcr.io/pangeo-181919/prod-pangeo-2ddata-2dpangeo-2dcmip6-2dexamples-5a27c2:70b3c353c242042d31e95d411ddba3de04829787
Pushing image
Pushing image
Pushing image
...
@rabernat I wonder if the dot-binder directory isn’t supported by onbuild. I'm pretty sure this is the problem:
Xarray/dask are throwing a new error in this the cmip6_precip_analysis notebook.