vimcaw/bun-git

By vimcaw

Updated 2 days ago

A minimal Docker image combining Bun runtime and Git — nothing more, nothing less.

Image
Languages & frameworks
0

976

vimcaw/bun-git repository overview

bun-git

A minimal Docker image combining Bun runtime and Git — nothing more, nothing less.

Why

The official oven/bun image does not include Git, which makes it inconvenient for CI/CD pipelines that need to clone repositories, run install scripts, or interact with version control during the build process.

This image solves that by copying the Bun binary directly into alpine/git, keeping the final image as small as possible (~50MB).

Usage

docker pull yourname/bun-git:latest
# Run a Bun script
docker run --rm -v $(pwd):/app yourname/bun-git bun run index.ts

# Use in your own Dockerfile
FROM yourname/bun-git:latest

WORKDIR /app
COPY . .
RUN bun install
CMD ["bun", "run", "start"]

Tags

TagBun VersionBase
latestlatest stablealpine/git
bun1-alpinelatest v1.xalpine/git
bun{version}-alpinelocked versionalpine/git

Tags are generated automatically based on the actual Bun version bundled in the image.

# Pin to a specific version (recommended for production)
docker pull yourname/bun-git:bun1.1.38-alpine

# Track latest v1.x (safe from major version breaking changes)
docker pull yourname/bun-git:bun1-alpine

# Always use the latest
docker pull yourname/bun-git:latest

Auto Updates

This image is rebuilt automatically every week via GitHub Actions to pick up the latest Bun releases and security patches from the base image.

You can always find the latest build status in the Actions tab.

What's Included

ToolVersion
bunlatest stable
bunxlatest stable (symlinked)
gitlatest alpine stable

License

MIT © Changsheng Zhu

Tag summary

Content type

Image

Digest

sha256:a1cc76384

Size

46.8 MB

Last updated

2 days ago

docker pull vimcaw/bun-git:bun-1.3.14-alpine