ソースを参照

Ensure files are created so Docker doesn't create them as root #562

Mark Shust 3 年 前
コミット
ab4f4b3612
1 ファイル変更4 行追加0 行削除
  1. 4 0
      compose/bin/download

+ 4 - 0
compose/bin/download

@@ -10,3 +10,7 @@ docker-compose -f docker-compose.yml up -d
 bin/setup-composer-auth
 
 bin/clinotty composer create-project --repository=https://repo.magento.com/ magento/project-"${EDITION}"-edition="${VERSION}" .
+
+# Ensure these are created so Docker doesn't create them as root
+mkdir -p ~/.composer ~/.ssh
+touch ~/.ssh/id_rsa ~/.ssh/known_hosts