Unofficial bun (https://bun.sh/) image based on alpine & ubuntu
4.5K
There are 2 images created automatically after a new bun version is released and a daily "canary" version.
bun version, tags created: latest and x.y.z based on alpine & ubuntu and x.y.z-ubuntu based on ubuntucanary (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
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
...
Content type
Image
Digest
sha256:28fd07b39…
Size
64.6 MB
Last updated
about 3 years ago
docker pull dvlprtech/bun:ubuntu