Skip to content

Commit a8458e1

Browse files
authoredOct 25, 2024
Merge pull request #76 from appwrite/feat-add-static-runtime
Feat: Add static runtime
2 parents a6678cc + 0a42f9c commit a8458e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/Runtimes/Runtimes.php

+4
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ public function __construct(string $version = '')
118118
$go = new Runtime('go', 'Go', 'sh helpers/server.sh');
119119
$go->addVersion('1.23', 'golang:1.23.1-alpine3.20', 'openruntimes/go:'.$this->version.'-1.23', [System::X86, System::ARM64]);
120120
$this->runtimes['go'] = $go;
121+
122+
$static = new Runtime('static', 'Static', 'sh helpers/server.sh');
123+
$static->addVersion('1.0', 'joseluisq/static-web-server:2.33-alpine', 'openruntimes/static:'.$this->version.'-1.0', [System::X86, System::ARM64]);
124+
$this->runtimes['static'] = $static;
121125
}
122126

123127
/**

0 commit comments

Comments
 (0)
Please sign in to comment.