Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1004be9919 |
No files matched your search
@@ -0,0 +1,13 @@
|
|||||||
|
kind: Release
|
||||||
|
body: |
|
||||||
|
- jangregor/phpstan-prophecy: ^1.0 -> ^2.0
|
||||||
|
- phpstan/phpstan: ^1.10 -> ^2.0
|
||||||
|
- phpstan/phpstan-deprecation-rules: ^1.1 -> ^2.0
|
||||||
|
- phpstan/phpstan-doctrine: ^1.3 -> ^2.0
|
||||||
|
- phpstan/phpstan-phpunit: ^1.3 -> ^2.0
|
||||||
|
- phpstan/phpstan-strict-rules: ^1.5 -> ^2.0
|
||||||
|
- phpstan/phpstan-symfony: ^1.3 -> ^2.0
|
||||||
|
|
||||||
|
time: 2026-10-10T03:02:19+00:00
|
||||||
|
custom:
|
||||||
|
Issue: ""
|
||||||
+82
-1
@@ -1,4 +1,79 @@
|
|||||||
FROM chill/base-image:8.4-edge
|
FROM php:8.4-fpm-alpine AS chill_base_php82
|
||||||
|
|
||||||
|
ENV POSTGRES_VERSION=16
|
||||||
|
|
||||||
|
# default UID for the PHP user
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GID=1000
|
||||||
|
|
||||||
|
# install php extensions and deps
|
||||||
|
# apk add --no-cache --update --virtual rabbitmq-c-dev rabbitmq-c-utils gcc g++ make autoconf && pecl install amqp
|
||||||
|
RUN apk update && apk add --no-cache \
|
||||||
|
wget gnupg \
|
||||||
|
libpq-dev \
|
||||||
|
icu-dev icu-libs icu-data-full \
|
||||||
|
oniguruma-dev \
|
||||||
|
libzip libzip-dev \
|
||||||
|
linux-headers \
|
||||||
|
gcc g++ make autoconf \
|
||||||
|
bash git \
|
||||||
|
rabbitmq-c rabbitmq-c-dev \
|
||||||
|
&& docker-php-ext-install pdo_pgsql intl mbstring zip bcmath exif sockets \
|
||||||
|
&& git clone https://github.com/nikic/php-ast.git \
|
||||||
|
&& cd php-ast \
|
||||||
|
&& phpize \
|
||||||
|
&& ./configure \
|
||||||
|
&& make install \
|
||||||
|
&& echo 'extension=ast.so' > /usr/local/etc/php/php.ini \
|
||||||
|
&& cd .. && rm -rf php-ast \
|
||||||
|
&& pecl install redis \
|
||||||
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install amqp \
|
||||||
|
&& docker-php-ext-enable amqp \
|
||||||
|
&& apk add libpng-dev libjpeg-turbo-dev freetype-dev \
|
||||||
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||||
|
&& docker-php-ext-install -j$(nproc) gd \
|
||||||
|
&& apk add postgresql${POSTGRES_VERSION}-client \
|
||||||
|
&& apk del --purge wget gnupg libpq-dev icu-dev oniguruma-dev libzip-dev linux-headers gcc g++ make autoconf
|
||||||
|
|
||||||
|
RUN { \
|
||||||
|
echo ""; \
|
||||||
|
echo "memory_limit = 512M"; \
|
||||||
|
echo ""; \
|
||||||
|
} >> /usr/local/etc/php/conf.d/memory_limit.ini
|
||||||
|
|
||||||
|
RUN { \
|
||||||
|
echo ""; \
|
||||||
|
echo "[Date]"; \
|
||||||
|
echo "date.timezone = Europe/Brussels"; \
|
||||||
|
echo ""; \
|
||||||
|
} >> /usr/local/etc/php/conf.d/date.ini
|
||||||
|
|
||||||
|
# temporary fix, while php-cs-fixer has conflict dependencies
|
||||||
|
# with chill
|
||||||
|
RUN curl -o /usr/local/bin/php-cs-fixer https://cs.symfony.com/download/php-cs-fixer-v3.phar \
|
||||||
|
&& chmod +x /usr/local/bin/php-cs-fixer
|
||||||
|
# to make php-cs-fixer works with php 8.2
|
||||||
|
ENV PHP_CS_FIXER_IGNORE_ENV=1
|
||||||
|
|
||||||
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
|
ENV COMPOSER_MEMORY_LIMIT=-1
|
||||||
|
|
||||||
|
# shell bash preference
|
||||||
|
RUN sed -i " \
|
||||||
|
s|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g; \
|
||||||
|
s|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/sh|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/bash|g" \
|
||||||
|
/etc/passwd
|
||||||
|
|
||||||
|
# chmod on redis.so
|
||||||
|
RUN chmod 755 -R /usr/local/lib/php/extensions/
|
||||||
|
|
||||||
|
WORKDIR /var/www/app
|
||||||
|
|
||||||
|
CMD ["php-fpm"]
|
||||||
|
|
||||||
|
FROM chill_base_php82 AS chill_php82
|
||||||
|
|
||||||
# copy directories
|
# copy directories
|
||||||
|
|
||||||
@@ -21,6 +96,12 @@ ADD ./entrypoint.sh /.
|
|||||||
|
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
RUN mkdir -p /var/www/app/var/cache /var/www/app/var/log && \
|
||||||
|
chown -R 82:82 /var/www/app && \
|
||||||
|
chmod -R 755 /var/www/app && \
|
||||||
|
chown -R 82:82 /usr/local/etc/php/conf.d && \
|
||||||
|
chmod -R 755 /usr/local/etc/php/conf.d
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
ENV PHP_FPM_USER=www-data \
|
ENV PHP_FPM_USER=www-data \
|
||||||
|
|||||||
+7
-7
@@ -37,15 +37,15 @@
|
|||||||
"symfony/var-dumper": "4.*",
|
"symfony/var-dumper": "4.*",
|
||||||
"symfony/phpunit-bridge": "^5.2",
|
"symfony/phpunit-bridge": "^5.2",
|
||||||
"phpspec/prophecy-phpunit": "^2.0",
|
"phpspec/prophecy-phpunit": "^2.0",
|
||||||
"phpstan/phpstan": "^1.10",
|
"phpstan/phpstan": "^2.0",
|
||||||
"phpstan/phpstan-deprecation-rules": "^1.1",
|
"phpstan/phpstan-deprecation-rules": "^2.0",
|
||||||
"phpstan/extension-installer": "^1.2",
|
"phpstan/extension-installer": "^1.2",
|
||||||
"phpstan/phpstan-strict-rules": "^1.5",
|
"phpstan/phpstan-strict-rules": "^2.0",
|
||||||
"rector/rector": "^1.2",
|
"rector/rector": "^1.2",
|
||||||
"phpstan/phpstan-doctrine": "^1.3",
|
"phpstan/phpstan-doctrine": "^2.0",
|
||||||
"phpstan/phpstan-symfony": "^1.3",
|
"phpstan/phpstan-symfony": "^2.0",
|
||||||
"phpstan/phpstan-phpunit": "^1.3",
|
"phpstan/phpstan-phpunit": "^2.0",
|
||||||
"jangregor/phpstan-prophecy": "^1.0",
|
"jangregor/phpstan-prophecy": "^2.0",
|
||||||
"symfony/debug-bundle": "^5.4"
|
"symfony/debug-bundle": "^5.4"
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
|
|||||||
+1
-2
@@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
"reviewers": ["LenaertsJ"]
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user