#!/usr/bin/env bash if [ -d "./bin" ]; then echo "Error: The current directory is not empty. Please remove all contents within this directory and try again." exit 1 fi git init -qqq git remote add origin https://github.com/markshust/docker-magento git fetch origin -qqq git checkout origin/master -- compose mv compose/* ./ mv compose/.gitignore ./ mv compose/.vscode ./ rm -rf compose .git git init # Ensure these are created so Docker doesn't create them as root mkdir -p ~/.composer ~/.ssh