This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch EPMCDLAB-1186
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/EPMCDLAB-1186 by this push:
new 6372900 fixed issue with logging in docker registry
6372900 is described below
commit 637290088b97a09cd94bb95f4b468df9a6a38c8b
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Tue Feb 19 17:21:41 2019 +0200
fixed issue with logging in docker registry
---
infrastructure-provisioning/src/ssn/scripts/configure_docker.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index 6856985..65d80ec 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -64,7 +64,8 @@ def update_repository(dlab_path, repository_host, region):
sudo('sed -i "s|^FROM ubuntu.*|FROM {0}/dlab-pre-base|g"
base_Dockerfile'.format(
os.environ['local_repository_docker_internal_repo']))
sudo('sed -i "/pip install/d;/apt-get/d" base_Dockerfile')
- # sudo('docker login -u docker-nexus -p docker-nexus
{}:8083'.format(repository_host))
+ sudo('docker login -u docker-nexus -p docker-nexus {}'.format(
+ os.environ['local_repository_docker_internal_repo']))
else:
sudo('''sed -i "23i RUN sed -i 's|REPOSITORY_UBUNTU|{}|g'
/etc/apt/sources.list" base_Dockerfile'''.format(
repository_host))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]