Skip to content

Commit

Permalink
Add new image: Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Mar 16, 2023
1 parent 62e6ebb commit f32736d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
14 changes: 14 additions & 0 deletions library/bun
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Maintainers: Jarred Sumner <[email protected]> (@Jarred-Sumner),
Ashcon Partovi <[email protected]> (@Electroid)

GitRepo: https://github.com/oven-sh/bun.git
GitFetch: refs/heads/main
GitCommit: 37293cb26a8239d4f387218a1fdadc522787835f

Tags: latest, debian, 0.5.7, 0.5.7-debian, 0.5, 0.5-debian
Architectures: amd64, arm64v8
Directory: dockerhub/debian

Tags: debian-slim, 0.5.7-debian-slim, 0.5-debian-slim
Architectures: amd64, arm64v8
Directory: dockerhub/debian-slim
1 change: 1 addition & 0 deletions test/tests/bun-hello-world/container.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello from Bun!");
1 change: 1 addition & 0 deletions test/tests/bun-hello-world/expected-std-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello from Bun!
1 change: 1 addition & 0 deletions test/tests/bun-hello-world/run.sh
7 changes: 7 additions & 0 deletions test/tests/run-bun-in-container.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e

testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")"

source "$runDir/run-in-container.sh" "$testDir" "$1" bun ./container.js
2 changes: 1 addition & 1 deletion test/tests/run-node-in-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e
testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")"

source "$runDir/run-in-container.sh" "$testDir" "$1" node ./container.js
source "$runDir/run-in-container.sh" "$testDir" "$1" bun ./container.js

0 comments on commit f32736d

Please sign in to comment.