File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM gitpod/workspace-full:latest
2+
3+ RUN sudo apt-get update && \
4+ sudo apt-get install -y php8.1-fpm \
5+ brew install symfony-cli/tap/symfony-cli FriendsOfShopware/tap/shopware-cli
Original file line number Diff line number Diff line change 1+ image :
2+ file : .gitpod.Dockerfile
3+
14tasks :
25 - name : Shopware
3- init : |
6+ before : |
47 echo 'alias admin-watch="APP_URL=http://localhost:8000 composer run watch:admin"' >> ~/.bashrc
5-
8+ init : |
69 EXTENSION_NAME=$(basename $PWD)
710 TMP_DIR=$(mktemp -d)
811
912 mv * .* "$TMP_DIR" || true
1013
11- git clone https://github.com/shopware/platform .
14+ git clone https://github.com/shopware/platform --depth=1 .
1215
1316 # Run MySQL
1417 docker run --restart always -d --name=mysql -p 127.0.0.1:3306:3306 -e MYSQL_ROOT_PASSWORD=root mysql:8
1518 docker run --restart always -d --link mysql:mysql -p 5000:8080 -e ADMINER_DESIGN=pepa-linha -e ADMINER_DEFAULT_SERVER=mysql -e ADMINER_PLUGINS="tables-filter table-structure json-column version-noverify" ghcr.io/shyim/shopware-docker/adminer
16- sudo apt update
17-
18- # Needed to improve performance in Symfony CLI
19- sudo apt install -y php8.1-fpm
20-
21- # Install Symfony CLI + Shopware CLI
22- brew install symfony-cli/tap/symfony-cli FriendsOfShopware/tap/shopware-cli
23-
19+
2420 # Configure Shopware
2521 composer install
2622 ./bin/console system:setup -n --database-url "mysql://root:root@127.0.0.1:3306/shopware" --app-url "$(gp url 8000)" --app-env dev
You can’t perform that action at this time.
0 commit comments