-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2576 from TanaseTeofil/contribution/Setting_up_de…
…v_enviornment Contribution/setting up dev enviornment
- Loading branch information
Showing
8 changed files
with
202 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,4 @@ drivers | |
vendor/ | ||
docs/generated-docs | ||
node_modules | ||
docker-compose.override.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM pimcore/pimcore:php8.1-debug-latest as dev | ||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install -y $PHPIZE_DEPS libxslt1-dev; \ | ||
docker-php-ext-install xsl; \ | ||
sync; \ | ||
apt-get purge -y $PHPIZE_DEPS; \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* | ||
ARG uid=1000 | ||
RUN usermod -u $uid www-data && chown -R www-data:www-data /var/www | ||
|
||
FROM dev as behat | ||
RUN apt update && \ | ||
apt install -y chromium chromium-driver | ||
|
||
# Install Symfony, Pimcore and CoreShop inside Tests container | ||
# RUN wget https://get.symfony.com/cli/installer -O - | bash | ||
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash | ||
RUN apt install symfony-cli | ||
|
||
ENV PANTHER_NO_SANDBOX=1 | ||
ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage' | ||
ENV CORESHOP_SKIP_DB_SETUP=1 | ||
ENV PANTHER_NO_HEADLESS=0 | ||
ENV APP_ENV="test" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
composer install | ||
vendor/bin/pimcore-install --no-interaction --ignore-existing-config | ||
bin/console coreshop:install | ||
bin/console coreshop:install:demo |
Oops, something went wrong.