Browse Source

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

Mark Shust 3 năm trước cách đây
mục cha
commit
ab4f4b3612
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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