Skip to content

Commit

Permalink
[TransactionalMessenger] Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalzombie committed Aug 18, 2022
0 parents commit 4a01552
Show file tree
Hide file tree
Showing 57 changed files with 12,289 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
FROM php:8.1-fpm-alpine

ENV COMPOSER_ALLOW_SUPERUSER=1
ENV PATH=$HOME/.composer/vendor/bin:$PATH

# Download script to install PHP extensions and dependencies
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN chmod uga+x /usr/local/bin/install-php-extensions && sync

# install system utilities
RUN apk add --no-cache \
curl \
nano \
git \
zip unzip

# Install dev libraries
RUN apk add --no-cache \
icu-dev \
libpq-dev \
libxml2-dev \
unixodbc-dev

# Install PHP
RUN install-php-extensions \
bz2 \
pcntl \
intl \
zip \
sockets \
xdebug-stable \
@composer

# Configure PHP
COPY conf/conf.d/docker-php-ext-xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
COPY conf/php.development.ini /usr/local/etc/php/php.ini

WORKDIR /var/www/html

CMD sleep infinity
13 changes: 13 additions & 0 deletions .docker/php/conf/conf.d/docker-php-ext-xdebug.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[xdebug]
zend_extension=xdebug.so

xdebug.mode = coverage

xdebug.start_with_request = no
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = false
xdebug.remote_handler = dbgp
xdebug.client_port = 9000
xdebug.remote_cookie_expire_time = 0

xdebug.idekey = PHPSTORM
Loading

0 comments on commit 4a01552

Please sign in to comment.