https://github.com/4lch4/bun-docker-bug
This repo is to demonstrate a bug that has come up in Bun v1.0.8+.
https://github.com/4lch4/bun-docker-bug
Last synced: 3 months ago
JSON representation
This repo is to demonstrate a bug that has come up in Bun v1.0.8+.
- Host: GitHub
- URL: https://github.com/4lch4/bun-docker-bug
- Owner: 4lch4
- Created: 2023-11-05T17:48:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T18:07:39.000Z (over 1 year ago)
- Last Synced: 2025-02-26T17:52:53.869Z (3 months ago)
- Language: Dockerfile
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bun (v1.0.8+) Docker Image Bug
This repo is a minimal reproducible example of a bug in bun.
The following will reproduce the error using `package.json` scripts:
```bash
# Builds the Docker && runs the image in a container.
bun run start
```The following will reproduce the error using each individual step:
```bash
docker build -t 4lch4/bun-docker-bug .docker run --rm 4lch4/bun-docker-bug
```To confirm it's a problem with the latest version, you can change the first line of the Dockerfile and then run the above commands again:
```diff
- FROM oven/bun:1.0.8
+ FROM oven/bun:1.0.7
```