Browse Source

FD3-433 instalación docsis

Guillermo Espinoza 7 years ago
parent
commit
3377a4b888
2 changed files with 15 additions and 0 deletions
  1. 4 0
      Dockerfile
  2. 11 0
      docsis.sh

+ 4 - 0
Dockerfile

@@ -28,6 +28,10 @@ RUN apt-get install -yq php-soap
 
 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
 
+COPY docsis.sh /opt
+RUN chmod +x /opt/docsis.sh
+RUN bash -c /opt/docsis.sh
+
 CMD eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ;\
     composer install --no-scripts --no-interaction --no-progress;\
     rm var/cache/* -rf ;\

+ 11 - 0
docsis.sh

@@ -0,0 +1,11 @@
+apt-get install -yq automake libtool libsnmp-dev bison make gcc flex git libglib2.0-dev libfl-dev
+
+cd /opt
+
+eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; git clone ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/docsis.git
+
+cd docsis
+./autogen.sh
+./configure
+make
+make install