浏览代码

Adding Magento modules to Composer allow-plugins directive #731

Mark Shust 2 年之前
父节点
当前提交
f81cfc4d35
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      compose/bin/setup

+ 5 - 0
compose/bin/setup

@@ -24,6 +24,11 @@ docker compose -f docker-compose.yml up -d
 bin/clinotty chmod u+x bin/magento
 rm -rf src && mkdir src
 
+echo "Adding Magento modules to Composer allow-plugins directive..."
+bin/clinotty composer config --no-plugins allow-plugins.magento/magento-composer-installer true
+bin/clinotty composer config --no-plugins allow-plugins.magento/inventory-composer-installer true
+bin/clinotty composer config --no-plugins allow-plugins.laminas/laminas-dependency-plugin true
+
 echo "Waiting for connection to Elasticsearch..."
 bin/clinotty timeout $ES_HEALTHCHECK_TIMEOUT bash -c "
     until curl --silent --output /dev/null http://$ES_HOST:$ES_PORT/_cat/health?h=st; do