From a021a2b09b045375979f8e7bc2e7aa520fc94847 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:44:14 +0530 Subject: [PATCH] Add SSR runtime --- src/Runtimes/Runtimes.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Runtimes/Runtimes.php b/src/Runtimes/Runtimes.php index 4333ab4..214b646 100644 --- a/src/Runtimes/Runtimes.php +++ b/src/Runtimes/Runtimes.php @@ -126,6 +126,10 @@ public function __construct(string $version = '') $flutter = new Runtime('flutter', 'Flutter', 'sh helpers/server.sh'); $flutter->addVersion('3.24', 'dart:3.5.2', 'openruntimes/flutter:'.$this->version.'-3.24', [System::X86, System::ARM64]); $this->runtimes['flutter'] = $flutter; + + $ssr = new Runtime('ssr', 'SSR', 'sh helpers/server.sh'); + $ssr->addVersion('22', 'node:22.9.0-alpine3.20', 'openruntimes/ssr:' . $this->version . '-22', [System::X86, System::ARM64]); + $this->runtimes['ssr'] = $ssr; } /**