Update docker images to Alpine 3.21

This commit is contained in:
Alejandro Celaya 2024-12-12 08:51:23 +01:00
parent 88c283952c
commit 9e34183901
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM php:8.4-alpine3.20 AS base FROM php:8.4-alpine3.21 AS base
ARG SHLINK_VERSION=latest ARG SHLINK_VERSION=latest
ENV SHLINK_VERSION ${SHLINK_VERSION} ENV SHLINK_VERSION ${SHLINK_VERSION}

View File

@ -1,4 +1,4 @@
FROM php:8.4-fpm-alpine3.20 FROM php:8.4-fpm-alpine3.21
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com> MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
ENV APCU_VERSION 5.1.24 ENV APCU_VERSION 5.1.24

View File

@ -1,4 +1,4 @@
FROM php:8.4-alpine3.20 FROM php:8.4-alpine3.21
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com> MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
ENV PDO_SQLSRV_VERSION 5.12.0 ENV PDO_SQLSRV_VERSION 5.12.0

View File

@ -47,7 +47,7 @@ class GeolocationDbUpdater implements GeolocationDbUpdaterInterface
} }
$lock = $this->locker->createLock(self::LOCK_NAME); $lock = $this->locker->createLock(self::LOCK_NAME);
$lock->acquire(true); // Block until lock is released $lock->acquire(blocking: true);
try { try {
return $this->downloadIfNeeded($downloadProgressHandler); return $this->downloadIfNeeded($downloadProgressHandler);

View File

@ -106,8 +106,8 @@ class PersistenceShortUrlRelationResolver implements ShortUrlRelationResolverInt
{ {
// Lock dependency creation for up to 5 seconds. This will prevent errors when trying to create the same one // Lock dependency creation for up to 5 seconds. This will prevent errors when trying to create the same one
// more than once in parallel. // more than once in parallel.
$locks[$name] = $lock = $this->locker->createLock($name, 5); $locks[$name] = $lock = $this->locker->createLock($name, ttl: 5);
$lock->acquire(true); $lock->acquire(blocking: true);
} }
/** /**