mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 17:41:50 +01:00
Composer > support/require PHP 7.2+ (instead of 5.6+)
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
Common and useful classes, methods, exceptions etc.
|
||||
|
||||
# 1.0.0
|
||||
|
||||
1. Composer > support/require PHP 7.2+ (instead of 5.6+)
|
||||
|
||||
# 0.1.8
|
||||
|
||||
1. Size, e.g. of image
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"ext-fileinfo": "*",
|
||||
"ext-json": "*",
|
||||
"ext-simplexml": "*",
|
||||
"php": ">=5.6",
|
||||
"php": ">=7.2",
|
||||
"ext-intl": "*",
|
||||
"ext-pcre": "*",
|
||||
"doctrine/orm": "^2.5",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM php:5.6-cli
|
||||
FROM php:7.2-cli
|
||||
MAINTAINER Meritoo <github@meritoo.pl>
|
||||
|
||||
#
|
||||
@@ -58,7 +58,7 @@ RUN docker-php-ext-install \
|
||||
# - Xdebug
|
||||
#
|
||||
RUN pecl install \
|
||||
xdebug-2.5.5 \
|
||||
xdebug \
|
||||
&& docker-php-ext-enable \
|
||||
xdebug
|
||||
|
||||
@@ -98,7 +98,7 @@ ENV COMPOSER_ALLOW_SUPERUSER 1
|
||||
#
|
||||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
||||
&& php -r "if (hash_file('SHA384', 'composer-setup.php') === \
|
||||
'93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo \
|
||||
'48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo \
|
||||
'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
|
||||
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
|
||||
&& php -r "unlink('composer-setup.php');" \
|
||||
|
||||
Reference in New Issue
Block a user