Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM drupal:8.9.20
FROM drupal:9.3-php8.0-fpm
MAINTAINER devel@goalgorilla.com

# Install packages.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@
"blackfire/php-sdk": "^v1.27.1",
"drupal/redis": "^1.5",
"drush/drush": "10.*@stable",
"goalgorilla/open_social": "dev-main",
"goalgorilla/open_social": "dev-issue/3260861-php8-support",
"goalgorilla/open_social_scripts": "^2.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "~0.7.1",
"drupal/coder": "^8.3",
"drupal/composer_deploy": "^1.6",
"drupal/core-dev": "~9.2.13",
"drupal/core-dev": "~9.3.5",
"drupal/devel": "^4.1",
"drupal/drupal-extension": "^4.1",
"drupal/upgrade_status": "^3.11",
"jcalderonzumba/gastonjs": "~1.2.0",
"jcalderonzumba/mink-phantomjs-driver": "~0.3.3",
"phpstan/phpstan": "1.4.6",
"mglaman/phpstan-drupal": "1.1.12",
"mglaman/phpstan-drupal": "1.1.13",
"mikey179/vfsstream": "^1.6",
"palantirnet/drupal-rector": "^0.12",
"palantirnet/drupal-rector": "^0.12.0",
"phpmd/phpmd": "^2.10",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
Expand Down
14 changes: 6 additions & 8 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ RUN docker-php-ext-configure gmp
RUN docker-php-ext-install gmp

# Xdebug.
RUN pecl install xdebug-2.9.8 && \
RUN pecl install xdebug-3.1.1 && \
docker-php-ext-enable xdebug && \
sed -i '1 a xdebug.remote_autostart=true' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.remote_mode=req' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.remote_handler=dbgp' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.remote_connect_back=1 ' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.remote_port=9000' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.remote_host=127.0.0.1' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.remote_enable=1' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
sed -i '1 a xdebug.client_port=9003' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.mode=debug' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.discover_client_host=true' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.client_host=host.docker.internal' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
sed -i '1 a xdebug.idekey=PHPSTORMi' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

# Blackfire
RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
Expand Down