|
@@ -25,23 +25,24 @@ RUN eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --
|
|
|
RUN git clone git@bitbucket.org:ikflowdat/extra.git /opt/extra ; cp /opt/extra/netmiko /opt/netmiko ; rm /opt/extra
|
|
|
|
|
|
RUN apt-get install -yq php-soap python-pip
|
|
|
+RUN git clone git@bitbucket.org:ikflowdat/extra.git /opt/extra ; cp -r /opt/extra/netmiko /opt/netmiko ; rm /opt/extra
|
|
|
RUN pip install -e /opt/netmiko
|
|
|
|
|
|
RUN eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; git clone git@bitbucket.org:ikflowdat/json-wsdl.git /opt/json-wsdl ; cd /opt/json-wsdl ; composer install --no-scripts --no-interaction --no-progress
|
|
|
|
|
|
RUN cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
- cp app/config/url_webservice.yml.docker app/config/url_webservice.yml ;\
|
|
|
- cp app/config/hwioauthbundle/parameters.yml.docker app/config/hwioauthbundle/parameters.yml ;\
|
|
|
- cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
- cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml
|
|
|
+ cp app/config/url_webservice.yml.docker app/config/url_webservice.yml ;\
|
|
|
+ cp app/config/hwioauthbundle/parameters.yml.docker app/config/hwioauthbundle/parameters.yml ;\
|
|
|
+ cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
+ cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml
|
|
|
|
|
|
CMD eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --no-scripts --no-interaction --no-progress;\
|
|
|
- rm var/cache/* -rf ;\
|
|
|
- cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
- cp app/config/url_webservice.yml.docker app/config/url_webservice.yml ;\
|
|
|
- cp app/config/hwioauthbundle/parameters.yml.docker app/config/hwioauthbundle/parameters.yml ;\
|
|
|
- cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
- cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml ;\
|
|
|
- composer run-script post-install-cmd --no-interaction ;\
|
|
|
- cat app/config/hwioauthbundle/parameters.yml ;\
|
|
|
- bin/console server:run 0.0.0.0 --env=dev
|
|
|
+ rm var/cache/* -rf ;\
|
|
|
+ cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
+ cp app/config/url_webservice.yml.docker app/config/url_webservice.yml ;\
|
|
|
+ cp app/config/hwioauthbundle/parameters.yml.docker app/config/hwioauthbundle/parameters.yml ;\
|
|
|
+ cp app/config/bundles/ik/device-bundle/parameters.yml.docker app/config/bundles/ik/device-bundle/parameters.yml ;\
|
|
|
+ cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml ;\
|
|
|
+ composer run-script post-install-cmd --no-interaction ;\
|
|
|
+ cat app/config/hwioauthbundle/parameters.yml ;\
|
|
|
+ bin/console server:run 0.0.0.0 --env=dev
|