Update PHP dependencies
This commit is contained in:
parent
0bdc9cafc0
commit
2f14e147b5
@ -9,5 +9,5 @@ http:
|
||||
relay: "unix://var/roadrunner.sock"
|
||||
|
||||
static:
|
||||
dir: "public"
|
||||
dir: "public"
|
||||
forbid: [".php", ".htaccess"]
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "kadet/cojedzie",
|
||||
"description": "Co Jedzie",
|
||||
"type": "project",
|
||||
"license": "MIT",
|
||||
"license": "MIT with Commons Clause",
|
||||
"require": {
|
||||
"php": "^7.1.3",
|
||||
"ext-ctype": "*",
|
||||
|
1206
api/composer.lock
generated
1206
api/composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -3,16 +3,18 @@ FROM php:7.4-fpm-alpine
|
||||
ENV APP_ENV=dev
|
||||
ENV DATABASE_URL="sqlite:///var/db/app.db"
|
||||
|
||||
RUN apk add --no-cache autoconf openssl-dev g++ make pcre-dev icu-dev zlib-dev libzip-dev git && \
|
||||
docker-php-ext-install bcmath intl opcache zip sockets;
|
||||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||
|
||||
# Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
RUN install-php-extensions bcmath intl opcache zip sockets xdebug-^3.0;
|
||||
RUN apk add git;
|
||||
|
||||
# XDebug
|
||||
RUN pecl install xdebug-3.0.0 && docker-php-ext-enable xdebug
|
||||
RUN echo "xdebug.mode=debug" >> $PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini && \
|
||||
echo "xdebug.discover_client_host=On" >> $PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini;
|
||||
|
||||
RUN apk del --purge autoconf g++ make
|
||||
|
||||
# Blackfire
|
||||
RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
|
||||
&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \
|
||||
@ -22,9 +24,6 @@ RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
|
||||
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
|
||||
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
|
||||
|
||||
#Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
# Timezone
|
||||
RUN ln -snf /usr/share/zoneinfo/Europe/Warsaw /etc/localtime && \
|
||||
echo "date.timezone = Europe/Warsaw" >> /usr/local/etc/php/conf.d/datetime.ini;
|
||||
|
@ -41,6 +41,9 @@
|
||||
"doctrine/dbal": {
|
||||
"version": "v2.8.0"
|
||||
},
|
||||
"doctrine/deprecations": {
|
||||
"version": "v0.5.3"
|
||||
},
|
||||
"doctrine/doctrine-bundle": {
|
||||
"version": "2.0",
|
||||
"recipe": {
|
||||
@ -144,6 +147,9 @@
|
||||
"jdorn/sql-formatter": {
|
||||
"version": "v1.2.17"
|
||||
},
|
||||
"jean85/pretty-package-versions": {
|
||||
"version": "2.0.3"
|
||||
},
|
||||
"jms/metadata": {
|
||||
"version": "1.7.0"
|
||||
},
|
||||
@ -212,6 +218,9 @@
|
||||
"phpdocumentor/type-resolver": {
|
||||
"version": "0.4.0"
|
||||
},
|
||||
"phpstan/phpdoc-parser": {
|
||||
"version": "0.4.14"
|
||||
},
|
||||
"psr/cache": {
|
||||
"version": "1.0.1"
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
PHP_IDE_CONFIG=serverName=czydojade
|
||||
PHP_IDE_CONFIG=serverName=cojedzie
|
||||
|
Loading…
Reference in New Issue
Block a user