From 0a42f9cae9930703418ebc62f97c5c77e45e9cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Fri, 25 Oct 2024 16:03:30 +0000 Subject: [PATCH] Add static runtime --- src/Runtimes/Runtimes.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Runtimes/Runtimes.php b/src/Runtimes/Runtimes.php index 9fabcb0..f2cc41a 100644 --- a/src/Runtimes/Runtimes.php +++ b/src/Runtimes/Runtimes.php @@ -118,6 +118,10 @@ public function __construct(string $version = '') $go = new Runtime('go', 'Go', 'sh helpers/server.sh'); $go->addVersion('1.23', 'golang:1.23.1-alpine3.20', 'openruntimes/go:'.$this->version.'-1.23', [System::X86, System::ARM64]); $this->runtimes['go'] = $go; + + $static = new Runtime('static', 'Static', 'sh helpers/server.sh'); + $static->addVersion('1.0', 'joseluisq/static-web-server:2.33-alpine', 'openruntimes/static:'.$this->version.'-1.0', [System::X86, System::ARM64]); + $this->runtimes['static'] = $static; } /**