kopia lustrzana https://github.com/jupyterhub/repo2docker
Use never versions of s2i builder images in detectors
rodzic
c527913d28
commit
f07c86f05e
|
@ -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.1.5', config=True)
|
||||
build_image = Unicode('jupyterhub/singleuser-builder-conda:v0.2.0', config=True)
|
||||
|
||||
def detect(self, workdir):
|
||||
return os.path.exists(os.path.join(workdir, 'environment.yml'))
|
||||
|
@ -140,8 +140,8 @@ class PythonBuildPack(S2IBuildPack):
|
|||
"""Build Pack for installing from a pip requirements.txt using S2I"""
|
||||
name = Unicode('python-pip')
|
||||
runtime_builder_map = Dict({
|
||||
'python-2.7': 'jupyterhub/singleuser-builder-venv-2.7:v0.1.5',
|
||||
'python-3.5': 'jupyterhub/singleuser-builder-venv-3.5:v0.1.5',
|
||||
'python-2.7': 'jupyterhub/singleuser-builder-venv-2.7:v0.2.0',
|
||||
'python-3.5': 'jupyterhub/singleuser-builder-venv-3.5:v0.2.0',
|
||||
})
|
||||
|
||||
runtime = Unicode(
|
||||
|
|
Ładowanie…
Reference in New Issue