-
-
Notifications
You must be signed in to change notification settings - Fork 27
Rufus Setup
This is only needed for Shopware internals
It is highly recommended to clone a new Shopware 6 Repository for Rufus only, as it changes your entire Installation.
Create a file $HOME/.config/swdc/cli/Dockerfile
and add the following content:
FROM ghcr.io/shyim/shopware-docker/cli:php81
USER root
RUN install-php-extensions grpc
USER 1000
Be aware that after this setting
PHP_VERSION
in the swdc configuration does not have any effect anymore.
This makes that swdc shell
contains gRPC.
The CLI container and the actual nginx/php container are different and don't share anything. This allows running multiple shopware instances with different versions.
To adjust the app container, create a .swdc/Dockerfile
in your project folder (shopware)
FROM ghcr.io/shyim/shopware-docker/6/nginx:php81
RUN install-php-extensions grpc
Run now swdc up
and take a coffee. gRPC compiling takes years
Build the project normal using swdc build project-name
. Open a shell using swdc shell
go to rufus directly and run the commands of the README of rufus