Fix: specify redis-5.3.7 version for PHP 7.4 compatibility in Dockerfile
This commit is contained in:
+1
-2
@@ -19,7 +19,6 @@ ENV HTTPS_PROXY=${https_proxy}
|
|||||||
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# System dependencies & Extensions
|
# System dependencies & Extensions
|
||||||
# (Gunakan Nexus debian-proxy lokal)
|
|
||||||
# =========================================================
|
# =========================================================
|
||||||
|
|
||||||
RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye main" > /etc/apt/sources.list \
|
RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye main" > /etc/apt/sources.list \
|
||||||
@@ -39,7 +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 \
|
||||||
&& pecl install redis \
|
&& 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