Skip to content

Commit 5ab496b

Browse files
Merge pull request #59 from appwrite/feat-bun-runtimes
Feat: Add Bun
2 parents 5aa672a + 5d4867b commit 5ab496b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Runtimes/Runtimes.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ public function __construct($version = '')
8989
$cpp->addVersion('17', 'alpine:3.16', 'openruntimes/cpp:' . $this->version . '-17', [System::X86, System::ARM64, System::ARMV7, System::ARMV8]);
9090
$cpp->addVersion('20', 'alpine:3.16', 'openruntimes/cpp:' . $this->version . '-20', [System::X86, System::ARM64, System::ARMV7, System::ARMV8]);
9191
$this->runtimes['cpp'] = $cpp;
92+
93+
$bun = new Runtime('bun', 'Bun', 'bun src/server.ts');
94+
$bun->addVersion('1.0', 'oven/bun:1.0.0', 'openruntimes/bun:' . $this->version . '-1.0', [System::X86, System::ARM64]);
95+
$this->runtimes['bun'] = $bun;
9296
}
9397

9498
/**

0 commit comments

Comments
 (0)