Преглед изворни кода

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/setup-composer-auth
 
 
 bin/clinotty composer create-project --repository=https://repo.magento.com/ magento/project-"${EDITION}"-edition="${VERSION}" .
 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