Fix: use internal Nexus repository to download Redis extension
This commit is contained in:
+1
-1
@@ -39,7 +39,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 \
|
||||||
&& curl -x http://10.15.3.20:80 -fsSL https://pecl.php.net/get/redis-5.3.7.tgz -o redis.tgz \
|
&& curl -k -fsSL https://nexus.dashboard-bpkd.drc-bpkd.data-center.id/repository/raw-assets/storage/app/uploads/redis-5.3.7.tgz -o redis.tgz \
|
||||||
&& pecl install redis.tgz \
|
&& pecl install redis.tgz \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
&& rm -f redis.tgz \
|
&& rm -f redis.tgz \
|
||||||
|
|||||||
Reference in New Issue
Block a user