2
0

onelinesetup 354 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -o errexit
  3. DOMAIN=${1:-magento.test}
  4. VERSION=${2:-2.4.7}
  5. EDITION=${3:-community}
  6. curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
  7. # &&'s are used below otherwise onelinesetup script fails/errors after bin/download
  8. bin/download "${VERSION}" "${EDITION}" \
  9. && bin/setup "${DOMAIN}"