Sign inSign up

dvlprtech/bun

By dvlprtech

•Updated about 3 years ago

Unofficial bun (https://bun.sh/) image based on alpine & ubuntu

Image
3

4.5K

dvlprtech/bun repository overview

Image size Image version

⁠Image building

There are 2 images created automatically after a new bun⁠ version is released and a daily "canary" version.

  • On new bun version, tags created: latest and x.y.z based on alpine & ubuntu and x.y.z-ubuntu based on ubuntu
  • Scheduled every 12h on bun canary version, tag created: canary (based on alpine)

The building process is fired and implemented with a Github Action in the repo: https://github.com/rsc1975/bun-docker⁠

The base image is alpine:latest⁠

⁠Getting started

docker run -it --rm dvlprtech/bun --version

It will output for instance:

0.1.8

To launch a local file we need to map the file dir to the container:

echo 'console.log(`Hello ${process.argv[process.argv.length - 1] || "World"} !!`);' > hi.js
docker run -it --rm -v$(pwd):/app dvlprtech/bun run /app/hi.js Folks

It will show:

Hello Folks !!

Yo can also use the image as base for your bun own project:

#Dockerfile
FROM dvlprtech/bun:latest
...

Tag summary

Content type

Image

Digest

sha256:28fd07b39…

Size

64.6 MB

Last updated

about 3 years ago

docker pull dvlprtech/bun:ubuntu