This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.idea
|
||||
12
Dockerfile
12
Dockerfile
@@ -2,6 +2,7 @@ FROM php:8.3.11-fpm-bookworm
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y --no-install-recommends install \
|
||||
git \
|
||||
libavif-dev \
|
||||
libbz2-dev \
|
||||
libfreetype6-dev \
|
||||
@@ -17,8 +18,6 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp
|
||||
RUN printf "\n" | pecl install imagick
|
||||
RUN docker-php-ext-enable imagick
|
||||
|
||||
RUN docker-php-ext-install -j$(nproc) \
|
||||
bcmath \
|
||||
@@ -32,3 +31,12 @@ RUN docker-php-ext-install -j$(nproc) \
|
||||
opcache \
|
||||
xml \
|
||||
zip
|
||||
|
||||
#RUN cd /usr/local/include/php/ext && \
|
||||
# git clone https://github.com/Imagick/imagick && \
|
||||
# cd imagick && \
|
||||
# git reset --hard 28f27044e435a2b203e32675e942eb8de620ee58 && \
|
||||
# docker-php-ext-configure imagick && \
|
||||
# docker-php-ext-install -j$(nproc) imagick
|
||||
#
|
||||
#RUN docker-php-ext-enable imagick
|
||||
Reference in New Issue
Block a user