mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 05:10:43 -06:00
Update docker images to Alpine 3.21
This commit is contained in:
parent
88c283952c
commit
9e34183901
@ -1,4 +1,4 @@
|
||||
FROM php:8.4-alpine3.20 AS base
|
||||
FROM php:8.4-alpine3.21 AS base
|
||||
|
||||
ARG SHLINK_VERSION=latest
|
||||
ENV SHLINK_VERSION ${SHLINK_VERSION}
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM php:8.4-fpm-alpine3.20
|
||||
FROM php:8.4-fpm-alpine3.21
|
||||
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
|
||||
|
||||
ENV APCU_VERSION 5.1.24
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM php:8.4-alpine3.20
|
||||
FROM php:8.4-alpine3.21
|
||||
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
|
||||
|
||||
ENV PDO_SQLSRV_VERSION 5.12.0
|
||||
|
@ -47,7 +47,7 @@ class GeolocationDbUpdater implements GeolocationDbUpdaterInterface
|
||||
}
|
||||
|
||||
$lock = $this->locker->createLock(self::LOCK_NAME);
|
||||
$lock->acquire(true); // Block until lock is released
|
||||
$lock->acquire(blocking: true);
|
||||
|
||||
try {
|
||||
return $this->downloadIfNeeded($downloadProgressHandler);
|
||||
|
@ -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
|
||||
// more than once in parallel.
|
||||
$locks[$name] = $lock = $this->locker->createLock($name, 5);
|
||||
$lock->acquire(true);
|
||||
$locks[$name] = $lock = $this->locker->createLock($name, ttl: 5);
|
||||
$lock->acquire(blocking: true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user