fix: pin redis extension version 6.0.2 for reproducible builds

This commit is contained in:
Lizandro Guarnizo
2026-03-10 22:39:33 -05:00
parent 9080444daa
commit 7a17fefb3e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ RUN apk add --no-cache curl-dev \
pcntl \ pcntl \
opcache opcache
# Instalar Redis extension # Instalar Redis extension (versión fija para cache reproducible)
RUN pecl install redis && docker-php-ext-enable redis RUN pecl install redis-6.0.2 && docker-php-ext-enable redis
# Instalar Composer # Instalar Composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
+2 -2
View File
@@ -33,9 +33,9 @@ RUN docker-php-ext-install -j$(nproc) \
pcntl \ pcntl \
opcache opcache
# Instalar Redis extension # Instalar Redis extension (versión fija para cache reproducible)
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
&& pecl install redis \ && pecl install redis-6.0.2 \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
&& apk del .build-deps && apk del .build-deps