Skip to content

Commit

Permalink
Merge pull request #59 from appwrite/feat-bun-runtimes
Browse files Browse the repository at this point in the history
Feat: Add Bun
  • Loading branch information
christyjacob4 authored Sep 12, 2023
2 parents 5aa672a + 5d4867b commit 5ab496b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Runtimes/Runtimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ public function __construct($version = '')
$cpp->addVersion('17', 'alpine:3.16', 'openruntimes/cpp:' . $this->version . '-17', [System::X86, System::ARM64, System::ARMV7, System::ARMV8]);
$cpp->addVersion('20', 'alpine:3.16', 'openruntimes/cpp:' . $this->version . '-20', [System::X86, System::ARM64, System::ARMV7, System::ARMV8]);
$this->runtimes['cpp'] = $cpp;

$bun = new Runtime('bun', 'Bun', 'bun src/server.ts');
$bun->addVersion('1.0', 'oven/bun:1.0.0', 'openruntimes/bun:' . $this->version . '-1.0', [System::X86, System::ARM64]);
$this->runtimes['bun'] = $bun;
}

/**
Expand Down

0 comments on commit 5ab496b

Please sign in to comment.