mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Merge pull request #705 from turbo124/master
Working on php extension installer issue
This commit is contained in:
@@ -50,19 +50,19 @@ RUN set -eux; \
|
||||
ttf-freefont \
|
||||
ttf-dejavu
|
||||
|
||||
COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||
|
||||
RUN install-php-extensions \
|
||||
${php_require} \
|
||||
${php_suggest} \
|
||||
${php_extra}
|
||||
|
||||
# Install PHP extensions
|
||||
# RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
|
||||
# ${php_require} \
|
||||
# ${php_suggest} \
|
||||
# ${php_extra}
|
||||
|
||||
RUN wget -O /usr/local/bin/install-php-extensions https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions \
|
||||
&& chmod +x /usr/local/bin/install-php-extensions \
|
||||
&& install-php-extensions \
|
||||
${php_require} \
|
||||
${php_suggest} \
|
||||
${php_extra}
|
||||
|
||||
# Copy files
|
||||
COPY rootfs /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user