Skip to content

Commit b35bb49

Browse files
committed
feat: add ftp ext
1 parent 2831b6e commit b35bb49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fpm-alpine/8.3/dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN apk update && apk upgrade && apk add --no-cache \
6363
# Configure and install PHP extensions
6464
RUN ln -s /usr/lib/$(apk --print-arch)-linux-gnu/libXpm.* /usr/lib/ && \
6565
docker-php-ext-configure gd --with-webp --with-jpeg --with-xpm --with-freetype --enable-gd-jis-conv && \
66-
docker-php-ext-install -j$(nproc) gd gettext gmp bcmath exif intl pdo pdo_mysql pcntl zip ftp
66+
docker-php-ext-install -j$(nproc) gd gettext gmp bcmath exif intl pdo pdo_mysql pcntl zip
6767

6868
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
6969
docker-php-ext-install -j$(nproc) imap
@@ -74,6 +74,9 @@ RUN pecl install imagick && \
7474
RUN pecl install --force redis && \
7575
docker-php-ext-enable redis
7676

77+
# Install FTP extension
78+
RUN docker-php-ext-install ftp
79+
7780
# Compile and install FFmpeg with libfdk-aac support
7881
RUN git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git /ffmpeg && \
7982
cd /ffmpeg && \

0 commit comments

Comments
 (0)