kopia lustrzana https://github.com/jupyterhub/repo2docker
Add jupyterlab by default to the conda builder
rodzic
fc5c2e81c2
commit
e973230685
|
@ -121,7 +121,7 @@ class S2IBuildPack(BuildPack):
|
|||
except subprocess.CalledProcessError:
|
||||
self.log.error('Failed to build image!', extra=dict(phase='failed'))
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def build(self, workdir, ref, output_image_spec):
|
||||
return self.s2i_build(workdir, ref, output_image_spec, self.build_image)
|
||||
|
||||
|
@ -130,7 +130,7 @@ class CondaBuildPack(S2IBuildPack):
|
|||
"""Build Pack for installing from a conda environment.yml using S2I"""
|
||||
|
||||
name = Unicode('conda')
|
||||
build_image = Unicode('jupyterhub/singleuser-builder-conda:v0.2.0', config=True)
|
||||
build_image = Unicode('jupyterhub/singleuser-builder-conda:v0.2.1', config=True)
|
||||
|
||||
def detect(self, workdir):
|
||||
return os.path.exists(os.path.join(workdir, 'environment.yml'))
|
||||
|
|
|
@ -4,5 +4,6 @@ dependencies:
|
|||
- ipython==6.0.0
|
||||
- ipykernel==4.6.0
|
||||
- ipywidgets==6.0.0
|
||||
- jupyterlab==0.22.1
|
||||
- pip:
|
||||
- jupyterhub==0.7.2
|
||||
|
|
|
@ -1 +1 @@
|
|||
v0.2.0
|
||||
v0.2.1
|
||||
|
|
Ładowanie…
Reference in New Issue