ソースを参照

no-progress para composer install

Luciano Andrade 7 年 前
コミット
c22649e6b2
2 ファイル変更3 行追加3 行削除
  1. 2 2
      Dockerfile
  2. 1 1
      src/FTTHBundle/Form/ONUType.php

+ 2 - 2
Dockerfile

@@ -40,9 +40,9 @@ RUN rm -rf /opt/ftth/app/config/parameters.yml /opt/ftth/app/config/url_webservi
 RUN cp -r keys /opt/keys/
 RUN chmod 0600 /opt/keys/*
 
-RUN eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --no-scripts --no-interaction 
+RUN eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --no-scripts --no-interaction --no-progress
 
-CMD eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --no-scripts --no-interaction ;\
+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/parameters.yml.docker app/config/parameters.yml ;\
  	cp app/config/url_webservice.yml.docker app/config/url_webservice.yml ;\

+ 1 - 1
src/FTTHBundle/Form/ONUType.php

@@ -50,7 +50,7 @@ class ONUType extends AbstractType
 		$clientID = $data['clientId'];
 
 		if(is_array($clientID) and $this->webservice){
-		$clientID["disableTenancy"] = 1;
+			$clientID["disableTenancy"] = 1;
 			$remote_data = $this->webservice->getData("client", $clientID);
 			if(count($remote_data) === 1){
 				$data["clientId"] = $remote_data[0]["id"];