onelinesetup 349 B

123456789101112
  1. #!/bin/bash
  2. set -o errexit
  3. DOMAIN=${1:-magento.test}
  4. VERSION=${2:-2.4.3-p1}
  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}"