malariagen / datalab

Repo for files and issues related to cloud deployment of JupyterHub.
MIT License
0 stars 1 forks source link

Build new image #83

Open alimanfoo opened 3 years ago

alimanfoo commented 3 years ago

This issue collects together some requests for additional features in the datalab image:

cc @slejdops

alimanfoo commented 3 years ago

cc @leehart

alimanfoo commented 3 years ago

cc @hardingnj

alimanfoo commented 3 years ago

Hi @slejdops, I just tried installing the binder v2.5.1 environment locally and it solves and installs fine, no conflicts. I did:

$ git clone git@github.com:malariagen/binder.git
$ cd binder
$ git checkout v2.5.1
$ ./install-conda.sh

Is there something different about how you are trying to create the environment when you build the image?

slejdops commented 3 years ago

conda cannot resolve environment while building the datalab docker image based on jupyter/base-notebook:python-3.7.6

possibly related to https://github.com/conda/conda/issues/9268

alimanfoo commented 3 years ago

Hi @slejdops, is this the current datalab image dockerfile?

FWIW I think the approach of trying to install into the base environment is likely to cause problems. Can we create a new environment instead? That's what we always do when using malariagen/binder locally. If we create a new (fresh) environment then we know we can get a perfect reproduction of the pinned environment, no conflicts.

slejdops commented 3 years ago

A new image based on malariagen/binder v2.5.1 deployed to the live cluster. cc @hardingnj cc @leehart