Skip to content

Commit

Permalink
Add Go runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Jul 3, 2024
1 parent 72c52b2 commit ffb9c08
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 @@ -106,6 +106,10 @@ public function __construct(string $version = '')
$bun = new Runtime('bun', 'Bun', 'bun src/server.ts');
$bun->addVersion('1.0', 'oven/bun:1.0.29', 'openruntimes/bun:'.$this->version.'-1.0', [System::X86, System::ARM64]);
$this->runtimes['bun'] = $bun;

$go = new Runtime('go', 'Go', 'src/function/server');
$go->addVersion('1.22', 'golang:1.22-alpine', 'openruntimes/go:'.$this->version.'-1.22', [System::X86, System::ARM64]);
$this->runtimes['go'] = $go;
}

/**
Expand Down

0 comments on commit ffb9c08

Please sign in to comment.