add php extensions
This commit is contained in:
parent
6e5e872b8e
commit
88c0efeaab
@ -21,10 +21,11 @@ ENV PHP_EXTENSIONS \
|
||||
ENV PECL_EXTENSIONS \
|
||||
redis
|
||||
|
||||
RUN apt-get install -y libzip libxslt curl zip unzip
|
||||
RUN apt-get install -y curl zip unzip
|
||||
RUN pecl install $PECL_EXTENSIONS \
|
||||
&& docker-php-ext-install -j "$(nproc)" $PHP_EXTENSIONS \
|
||||
&& docker-php-ext-enable $PECL_EXTENSIONS
|
||||
&& docker-php-ext-enable $PECL_EXTENSIONS \
|
||||
&& docker-php-source delete
|
||||
|
||||
COPY --from=caddy /config /config
|
||||
COPY --from=caddy /data /data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user