You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/06/03 09:00:36 UTC

[incubator-dlab] branch DLAB-1850 created (now 93a219f)

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a change to branch DLAB-1850
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.


      at 93a219f  [DLAB-1850]: added arg to jupyterlab docker build command

This branch includes the following new commits:

     new 93a219f  [DLAB-1850]: added arg to jupyterlab docker build command

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org


[incubator-dlab] 01/01: [DLAB-1850]: added arg to jupyterlab docker build command

Posted by lf...@apache.org.
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 <fr...@gmail.com>
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: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org