From 5e96aad3fd7d82090527e7421d2d42af494a153e Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 20 May 2023 19:03:42 +0200 Subject: [PATCH] clear apcu cache upon starting containers Signed-off-by: Simon L --- php/src/Controller/DockerController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php/src/Controller/DockerController.php b/php/src/Controller/DockerController.php index 5f4acfe3..980e432b 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -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', '/'); }