|
@@ -16,16 +16,7 @@ RUN chmod 0600 /opt/keys/*; \
|
|
|
rm -f app/config/bundles/ik/base-admin-bundle/parameters.yml; \
|
|
|
rm -f app/config/bundles/ik/device-bundle/parameters.yml; \
|
|
|
rm -f app/config/bundles/ik/webservice-bundle/parameters.yml; \
|
|
|
- composer install --no-scripts --no-interaction --no-progress; \
|
|
|
- git clone git@bitbucket.org:ikflowdat/json-wsdl.git /opt/json-wsdl; \
|
|
|
- cd /opt/json-wsdl; \
|
|
|
- composer install --no-scripts --no-interaction --no-progress; \
|
|
|
- chmod +x /opt/docsis.sh; \
|
|
|
- bash -c /opt/docsis.sh
|
|
|
-
|
|
|
-COPY docsis/custom_mibs /usr/share/snmp/mibs/
|
|
|
-
|
|
|
-RUN mkdir -p /run/php; \
|
|
|
+ mkdir -p /run/php; \
|
|
|
sed -i 's#listen = /run/php/php7.0-fpm.sock#listen = /run/php/cablemodem.sock#g' /etc/php/7.0/fpm/pool.d/www.conf; \
|
|
|
sed -i 's#listen = 0.0.0.0:9000#listen = /run/php/cablemodem.sock#g' /etc/php/7.0/fpm/pool.d/www.conf; \
|
|
|
sed -i 's#;clear_env = no#clear_env = no#g' /etc/php/7.0/fpm/pool.d/www.conf; \
|
|
@@ -36,7 +27,15 @@ RUN mkdir -p /run/php; \
|
|
|
sed -i 's#;listen.mode = 0660#listen.mode = 0777#g' /etc/php/7.0/fpm/pool.d/www.conf; \
|
|
|
sed -i 's#pm.max_children = 5#pm.max_children = 10#g' /etc/php/7.0/fpm/pool.d/www.conf; \
|
|
|
sed -i 's#;pm.max_requests = 500#pm.max_requests = 500#g' /etc/php/7.0/fpm/pool.d/www.conf; \
|
|
|
+ composer install --no-scripts --no-interaction --no-progress; \
|
|
|
chmod 777 -R var/cache/ var/logs/ var/sessions/
|
|
|
+ git clone git@bitbucket.org:ikflowdat/json-wsdl.git /opt/json-wsdl; \
|
|
|
+ cd /opt/json-wsdl; \
|
|
|
+ composer install --no-scripts --no-interaction --no-progress; \
|
|
|
+ chmod +x /opt/docsis.sh; \
|
|
|
+ bash -c /opt/docsis.sh
|
|
|
+
|
|
|
+COPY docsis/custom_mibs /usr/share/snmp/mibs/
|
|
|
|
|
|
CMD rm var/cache/* -rf ;\
|
|
|
composer run-script post-install-cmd --no-interaction ;\
|