|
|
@ -34,6 +34,16 @@ RUN pecl install -a redis |
|
|
|
RUN echo "extension=redis.so" > /etc/php/${PHP_VERSION}/cli/conf.d/20-redis.ini |
|
|
|
|
|
|
|
########################################################################### |
|
|
|
# Update composer version |
|
|
|
########################################################################### |
|
|
|
|
|
|
|
USER root |
|
|
|
|
|
|
|
ARG COMPOSER_VERSION=2 |
|
|
|
ENV COMPOSER_VERSION ${COMPOSER_VERSION} |
|
|
|
RUN composer self-update --${COMPOSER_VERSION} |
|
|
|
|
|
|
|
########################################################################### |
|
|
|
# Install custom node version |
|
|
|
########################################################################### |
|
|
|
|
|
|
@ -83,6 +93,9 @@ COPY ./minio/auth.json /home/laradock/.mc/config.json |
|
|
|
|
|
|
|
USER root |
|
|
|
|
|
|
|
ARG PHP_OPT_SHORT_OPEN_TAG=Off |
|
|
|
RUN sed -i "s/^short_open_tag = .*/short_open_tag = $PHP_OPT_SHORT_OPEN_TAG/g" /etc/php/${PHP_VERSION}/cli/php.ini |
|
|
|
|
|
|
|
ARG PHP_OPT_MAX_EXECUTION_TIME=600 |
|
|
|
RUN sed -i "s/^max_execution_time = .*/max_execution_time = $PHP_OPT_MAX_EXECUTION_TIME/g" /etc/php/${PHP_VERSION}/cli/php.ini |
|
|
|
|
|
|
|