An open API service indexing awesome lists of open source software.

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+.

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
```