kopia lustrzana https://github.com/jupyterhub/repo2docker
allow setting JUPYTERHUB_VERSION via env
rodzic
dd25515a83
commit
579bf664bb
|
@ -149,8 +149,12 @@ class BuildPack(LoggingConfigurable):
|
||||||
and the Hub itself should have the same version number.
|
and the Hub itself should have the same version number.
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
@default('jupyterhub_version')
|
||||||
|
def _jupyterhub_version_default(self):
|
||||||
|
"""Allow setting JUPYTERHUB_VERSION via env"""
|
||||||
|
return os.environ.get('JUPYTERHUB_VERSION') or '0.7.2'
|
||||||
|
|
||||||
packages = Set(
|
packages = Set(
|
||||||
set(),
|
|
||||||
help="""
|
help="""
|
||||||
List of packages that are installed in this BuildPack by default.
|
List of packages that are installed in this BuildPack by default.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue