Skip to content

Commit d660925

Browse files
committed
feat: add ftp ext
1 parent d17dd83 commit d660925

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

fpm-alpine/8.3/dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,18 @@ RUN ln -s /usr/lib/$(apk --print-arch)-linux-gnu/libXpm.* /usr/lib/ && \
6868
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
6969
docker-php-ext-install -j$(nproc) imap
7070

71-
RUN docker-php-ext-install ftp
72-
73-
RUN pecl channel-update pecl.php.net
74-
75-
RUN pecl install imagick-3.6.0 && docker-php-ext-enable imagick
71+
RUN git clone https://github.com/Imagick/imagick.git /usr/src/imagick && \
72+
cd /usr/src/imagick && \
73+
phpize && \
74+
./configure && \
75+
make && \
76+
make install && \
77+
docker-php-ext-enable imagick
7678

7779
RUN pecl install --force redis && docker-php-ext-enable redis
7880

81+
RUN docker-php-ext-install ftp
82+
7983

8084
# Compile and install FFmpeg with libfdk-aac support
8185
RUN git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git /ffmpeg && \

0 commit comments

Comments
 (0)