Fix: configure pear http_proxy for pecl redis installation
This commit is contained in:
@@ -38,6 +38,7 @@ RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bu
|
|||||||
unzip \
|
unzip \
|
||||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||||
&& docker-php-ext-install gd pdo pdo_mysql zip \
|
&& 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 \
|
&& pecl install redis-5.3.7 \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
Reference in New Issue
Block a user