From 1d332d0e8f80a06340e4ff32414285199545450d Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Tue, 9 Aug 2016 17:45:09 +1000 Subject: [PATCH] enable-ftp --enable-ftp as some php function need it compiled statically fixes docker-library/php#236 --- Dockerfile-alpine.template | 2 ++ Dockerfile-debian.template | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 664547ab13..0e4eca62d2 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -73,6 +73,8 @@ RUN set -xe \ --enable-mysqlnd \ # --enable-mbstring is included here because otherwise there's no way to get pecl to use it properly (see https://github.com/docker-library/php/issues/195) --enable-mbstring \ +# --enable-ftp is included here because ftp_ssl_connect() needs ftp to be compiled statically (see https://github.com/docker-library/php/issues/236) + --enable-ftp \ --with-curl \ --with-libedit \ --with-openssl \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index abb4ba15df..d4f8292ab2 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -66,6 +66,8 @@ RUN set -xe \ --enable-mysqlnd \ # --enable-mbstring is included here because otherwise there's no way to get pecl to use it properly (see https://github.com/docker-library/php/issues/195) --enable-mbstring \ +# --enable-ftp is included here because ftp_ssl_connect() needs ftp to be compiled statically (see https://github.com/docker-library/php/issues/236) + --enable-ftp \ --with-curl \ --with-libedit \ --with-openssl \