mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Adds the universe repository to the used sources
This change is required, to support Ubuntu Server 18.04.01, which by default doesn't ship with universe. Universe contains python3-venv which is needed for tljh
This commit is contained in:
@@ -66,6 +66,7 @@ def main():
|
||||
else:
|
||||
logger.info('Setting up hub environment')
|
||||
initial_setup = True
|
||||
subprocess.check_output(['add-apt-repository', 'universe'], stderr=subprocess.STDOUT)
|
||||
subprocess.check_output(['apt-get', 'update', '--yes'], stderr=subprocess.STDOUT)
|
||||
subprocess.check_output(['apt-get', 'install', '--yes', 'python3', 'python3-venv', 'git'], stderr=subprocess.STDOUT)
|
||||
logger.info('Installed python & virtual environment')
|
||||
|
||||
Reference in New Issue
Block a user