-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require olvlvl/symfony-dependency-injection-proxy v6.0
- Loading branch information
Showing
8 changed files
with
48 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ indent_size = 4 | |
|
||
[{*.yaml,*.yml,*.neon,*.json}] | ||
indent_size = 2 | ||
|
||
[Dockerfile] | ||
indent_style = tab |
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 |
---|---|---|
|
@@ -11,7 +11,6 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
steps: | ||
|
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 |
---|---|---|
@@ -1,36 +1,46 @@ | ||
ARG PHP_VERSION | ||
FROM php:${PHP_VERSION}-cli-bookworm | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y autoconf pkg-config && \ | ||
pecl channel-update pecl.php.net && \ | ||
pecl install xdebug && \ | ||
RUN <<-EOF | ||
apt-get update | ||
apt-get install -y autoconf pkg-config | ||
pecl channel-update pecl.php.net | ||
pecl install xdebug | ||
docker-php-ext-enable opcache xdebug | ||
EOF | ||
|
||
RUN echo '\ | ||
xdebug.client_host=host.docker.internal\n\ | ||
xdebug.mode=develop\n\ | ||
xdebug.start_with_request=yes\n\ | ||
' >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
RUN <<-EOF | ||
cat <<-SHELL >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
xdebug.client_host=host.docker.internal | ||
xdebug.mode=develop | ||
xdebug.start_with_request=yes | ||
SHELL | ||
|
||
RUN echo '\ | ||
display_errors=On\n\ | ||
error_reporting=E_ALL\n\ | ||
date.timezone=UTC\n\ | ||
' >> /usr/local/etc/php/conf.d/php.ini | ||
cat <<-SHELL >> /usr/local/etc/php/conf.d/php.ini | ||
display_errors=On | ||
error_reporting=E_ALL | ||
date.timezone=UTC | ||
SHELL | ||
EOF | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER 1 | ||
|
||
RUN apt-get update && \ | ||
apt-get install unzip && \ | ||
curl -s https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer | php -- --quiet && \ | ||
mv composer.phar /usr/local/bin/composer && \ | ||
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"\n' >> /root/.bashrc | ||
RUN <<-EOF | ||
apt-get update | ||
apt-get install unzip | ||
curl -s https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer | php -- --quiet | ||
mv composer.phar /usr/local/bin/composer | ||
cat <<-SHELL >> /root/.bashrc | ||
export PATH="$HOME/.composer/vendor/bin:$PATH" | ||
SHELL | ||
EOF | ||
|
||
# package specifics | ||
|
||
RUN pecl install apcu && \ | ||
docker-php-ext-enable apcu opcache && \ | ||
echo '\ | ||
apc.enable_cli=On\n\ | ||
' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini | ||
RUN <<-EOF | ||
pecl install apcu | ||
docker-php-ext-enable apcu opcache | ||
cat <<-SHELL >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini | ||
apc.enable_cli=On | ||
SHELL | ||
EOF |
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
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
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