|
@@ -9,13 +9,12 @@ COPY docsis.sh /opt
|
|
|
RUN chmod 0600 /opt/keys/*; \
|
|
|
eval $(ssh-agent); \
|
|
|
ssh-add /opt/keys/bitbucket.id_rsa; \
|
|
|
- rm -rf /opt/cablemodem/vendor/*; \
|
|
|
- rm -f app/config/parameters.yml; \
|
|
|
- rm -f app/config/bundles/hwi/oauth-bundle/parameters.yml; \
|
|
|
- rm -f app/config/bundles/ik/audit-bundle/parameters.yml; \
|
|
|
- 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; \
|
|
|
+ rm -f app/config/parameters.yml \
|
|
|
+ app/config/bundles/hwi/oauth-bundle/parameters.yml \
|
|
|
+ app/config/bundles/ik/audit-bundle/parameters.yml \
|
|
|
+ app/config/bundles/ik/base-admin-bundle/parameters.yml \
|
|
|
+ app/config/bundles/ik/device-bundle/parameters.yml \
|
|
|
+ app/config/bundles/ik/webservice-bundle/parameters.yml; \
|
|
|
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; \
|