clear apcu cache upon starting containers

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-05-20 19:03:42 +02:00
parent cf148b6381
commit 5e96aad3fd

View file

@ -172,6 +172,9 @@ class DockerController
// Start container
$this->startTopContainer(true);
// Clear apcu cache in order to check if container updates are available
apcu_clear_cache();
return $response->withStatus(201)->withHeader('Location', '/');
}