fix(): php8 path

pull/80/head
Magicalex 2021-03-16 18:40:14 +01:00
parent abada7d0b6
commit 6c025b0175
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ RUN apk add --no-progress --no-cache \
su-exec \ su-exec \
s6 \ s6 \
&& cd /tmp \ && cd /tmp \
&& ln -s /usr/bin/php8 /usr/bin/php \
&& curl -s http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -s http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& sed -i 's/memory_limit = .*/memory_limit = ${PHP_MEMORY_LIMIT}/' /etc/php8/php.ini \ && sed -i 's/memory_limit = .*/memory_limit = ${PHP_MEMORY_LIMIT}/' /etc/php8/php.ini \
&& chmod +x /usr/local/bin/composer \ && chmod +x /usr/local/bin/composer \