* choose composer version from userspace docker build

This commit is contained in:
2022-07-10 13:45:06 +03:00
parent 57cc040b3a
commit db86932c71
4 changed files with 21 additions and 3 deletions

View File

@ -28,17 +28,20 @@ RUN ln -snf /usr/share/zoneinfo/$CUSTOM_TZ /etc/localtime && echo $CUSTOM_TZ > /
# Additional PHP-extensions:
###########################################################################
#RUN pecl install igbinary && pecl install -a redis
RUN pecl install -a redis
RUN echo "extension=redis.so" > /etc/php/${PHP_VERSION}/cli/conf.d/20-redis.ini
###########################################################################
# S3 config
# Update composer version
###########################################################################
USER laradock
USER root
COPY ./minio/auth.json /home/laradock/.mc/config.json
ARG COMPOSER_VERSION=2
ENV COMPOSER_VERSION ${COMPOSER_VERSION}
RUN composer self-update --${COMPOSER_VERSION}
###########################################################################
# Install custom node version