Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

Update the conda version in the base image #86

Closed
ocefpaf opened this issue Nov 10, 2016 · 3 comments
Closed

Update the conda version in the base image #86

ocefpaf opened this issue Nov 10, 2016 · 3 comments

Comments

@ocefpaf
Copy link

ocefpaf commented Nov 10, 2016

I am trying to build a binder using the this env file which is quite sensitive to the channel order. Binder builds just fine but I get the wrong version some of its dependencies (icu), and a broken env 😒

When using the same env file locally I get the right versions, so I am guessing the issue is the conda version used in binder.

I am trying now to use the Dockerfile approach, and update conda before creating the env. See https://github.com/ocefpaf/notebooks_demos/blob/master/Dockerfile#L8 but that is returning:

# > source deactivate IOOS #
---> 70edd36d67f6
Removing intermediate container 941826cb2cef
Step 15 : RUN source activate IOOS
---> Running in e2274012c0a4
�[91m/bin/sh: 1: source: not found�[0m
could not build image ocefpaf-notebooks_demos: Error: build failed for imageName: ocefpaf-notebooks_demos
registering template for ocefpaf-notebooks_demos

See http://mybinder.org/status/ocefpaf/notebooks_demos

Any recommendations? Is a conda update possible? (So the channel preference feature is enabled.)

Can we take advantage of the channel preference feature? Or would that break binder dependencies?

cc @rsignell-usgs

@SylvainCorlay
Copy link

SylvainCorlay commented Nov 14, 2016

Hi, I have exactly the same issue (with the gdal package on conda-forge).

My understanding is that binder always downloads the latest miniconda, which should do the job.

I guess that redeploying would do the trick.

@ocefpaf
Copy link
Author

ocefpaf commented Nov 14, 2016

BTW adding this line fixed it for me. So I am closing this.

@ocefpaf ocefpaf closed this as completed Nov 14, 2016
@SylvainCorlay
Copy link

Well, this forces me to use docker instead of a pure conda....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants