template 338 B

12345678910111213
  1. #!/bin/bash
  2. git init -qqq
  3. git remote add origin https://github.com/markshust/docker-magento
  4. git fetch origin -qqq
  5. git checkout origin/master -- compose
  6. mv compose/* ./
  7. mv compose/.gitignore ./
  8. mv compose/.vscode ./
  9. rm -rf compose .git
  10. git init
  11. # Ensure these are created so Docker doesn't create them as root
  12. mkdir -p ~/.composer ~/.ssh