diff --git a/Dockerfile b/Dockerfile index 0c0448f..747451a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bu nginx \ vim \ wget \ + curl \ libpng-dev \ libjpeg-dev \ libfreetype6-dev \ @@ -38,9 +39,10 @@ RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bu unzip \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install gd pdo pdo_mysql zip \ - && pear config-set http_proxy "http://10.15.3.20:80" \ - && pecl install redis-5.3.7 \ + && curl -x http://10.15.3.20:80 -fsSL https://pecl.php.net/get/redis-5.3.7.tgz -o redis.tgz \ + && pecl install redis.tgz \ && docker-php-ext-enable redis \ + && rm -f redis.tgz \ && rm -rf /var/lib/apt/lists/* # =========================================================