Fix docker build

This commit is contained in:
Alex P 2021-10-08 10:21:33 +03:00
parent f4b2c5d7df
commit 196f143e65

View file

@ -56,6 +56,7 @@ RUN apt-get install -y \
curl \
git \
yarn \
ca-certificates \
# These are for extensions
zlib1g-dev \
libicu-dev \
@ -63,6 +64,9 @@ RUN apt-get install -y \
# For installing things from URL
wget
# https://github.com/nodesource/distributions/issues/1266
RUN update-ca-certificates
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
php composer-setup.php --install-dir=/usr/bin --filename=composer --version=1.10.22 && \
php -r "unlink('composer-setup.php');"