add extentions
This commit is contained in:
parent
2378a77b2f
commit
ed5a41a2fd
1 changed files with 7 additions and 7 deletions
|
@ -2,6 +2,11 @@ ARG PHP_IMAGE_VERSION=3.20.6
|
|||
FROM thecodingmachine/php:8.3-v4-fpm-node22 AS builder
|
||||
ARG VERSION
|
||||
|
||||
ENV PHP_EXTENSION_LDAP=1
|
||||
ENV PHP_EXTENSION_INTL=1
|
||||
ENV PHP_EXTENSION_BCMATH=1
|
||||
ENV COMPOSER_MEMORY_LIMIT=-1
|
||||
|
||||
COPY . /var/www/html
|
||||
|
||||
USER root
|
||||
|
@ -40,10 +45,6 @@ LABEL version="${VERSION}" \
|
|||
|
||||
USER root
|
||||
RUN apk --no-cache add \
|
||||
unzip \
|
||||
sqlite \
|
||||
php83-sqlite3 \
|
||||
php83-pdo_sqlite \
|
||||
php83-ldap \
|
||||
php83-xmlwriter \
|
||||
php83-xsl \
|
||||
|
@ -99,8 +100,7 @@ USER nobody
|
|||
COPY --from=builder /artifact.tgz artifact.tgz
|
||||
|
||||
RUN tar -zxvf artifact.tgz \
|
||||
&& rm artifact.tgz \
|
||||
&& rm -r var/cache
|
||||
&& rm artifact.tgz
|
||||
|
||||
ENV nginx_root_directory=/var/www/html/public \
|
||||
memory_limit=1024M \
|
||||
|
|
Loading…
Add table
Reference in a new issue