Browse Source

new ssh keys added. Related to https://gitlab.com/interlink-sa/flowdat3/modules/base/issues/12

Espinoza Guillermo 6 years ago
parent
commit
3fefec5212
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Dockerfile

+ 2 - 3
Dockerfile

@@ -7,7 +7,6 @@ WORKDIR /opt/ftth
 RUN chmod 0600 /opt/keys/*; \
     eval $(ssh-agent); \
     ssh-add /opt/keys/bitbucket.id_rsa; \
-    ssh-add /opt/keys/gitlab.id_rsa; \
     rm -f app/config/parameters.yml \
           app/config/url_webservice.yml \
           app/config/hwioauthbundle/parameters.yml \
@@ -22,10 +21,10 @@ RUN chmod 0600 /opt/keys/*; \
     cp app/config/hwioauthbundle/parameters.yml.dist app/config/hwioauthbundle/parameters.yml; \
     composer install --no-scripts --no-interaction --no-progress; \
     composer dump-autoload; \
-    git clone git@gitlab.com:interlink-sa/flowdat3/modules/netmiko.git /opt/netmiko; \
+    eval $(ssh-agent); ssh-add /opt/keys/gitlab.id_rsa; git clone git@gitlab.com:interlink-sa/flowdat3/modules/netmiko.git /opt/netmiko; \
     pip install -e /opt/netmiko; \
     pip install paramiko argparse; \
-    git clone git@gitlab.com:interlink-sa/flowdat3/vendors/json-wsdl.git /opt/json-wsdl; \
+    eval $(ssh-agent); ssh-add /opt/keys/gitlab.id_rsa; git clone git@gitlab.com:interlink-sa/flowdat3/vendors/json-wsdl.git /opt/json-wsdl; \
     cd /opt/json-wsdl; \
     composer install --no-scripts --no-interaction --no-progress; \
     git clone git@gitlab.com:interlink-sa/flowdat3/modules/connect.git /usr/bin/connect; \