This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1850 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 93a219f3942e8e2d143454a4bf7a0af6f46d6c82 Author: leonidfrolov <[email protected]> AuthorDate: Wed Jun 3 12:00:13 2020 +0300 [DLAB-1850]: added arg to jupyterlab docker build command --- .../src/general/scripts/os/jupyterlab_container_start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/scripts/os/jupyterlab_container_start.py b/infrastructure-provisioning/src/general/scripts/os/jupyterlab_container_start.py index c4ff97b..77b00a4 100644 --- a/infrastructure-provisioning/src/general/scripts/os/jupyterlab_container_start.py +++ b/infrastructure-provisioning/src/general/scripts/os/jupyterlab_container_start.py @@ -38,7 +38,7 @@ jupyterlab_dir = '/home/' + args.os_user + '/.jupyterlab/' def start_jupyterlab_container(jupyterlab_dir): try: with cd('{}'.format(jupyterlab_dir)): - run('docker build --file Dockerfile_jupyterlab -t jupyter-lab .'.format(args.os_user)) + run('docker build --network=host --file Dockerfile_jupyterlab -t jupyter-lab .'.format(args.os_user)) container_id = run('docker ps | awk \'NR==2{print $1}\'') if container_id != '': run('docker stop ' + container_id) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
