Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flyctl deploy fails on bun 1.0.0 - missing bun:1.0.0-slim on docker hub #3329

Open
kyelewis opened this issue Feb 29, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@kyelewis
Copy link

kyelewis commented Feb 29, 2024

Describe the bug
Running flyctl deploy with bun 1.0.0 fails because it tries to use docker.io/oven/bun:1.0.0-slim which is not published on docker hub.

Upgrading bun afterwards will still continue to error unless the Dockerfile is updated.

> bun --version
1.0.0

> flyctl version
flyctl v0.2.11 darwin/arm64 Commit: 98866160da36eaa8d3ac16a0a6c6b62dcc1743db BuildDate: 2024-02-27T19:37:07Z

** Command output: **

 => ERROR [internal] load metadata for docker.io/oven/bun:1.0.0-slim                                                      2.7s
------
 > [internal] load metadata for docker.io/oven/bun:1.0.0-slim:
------
Error: failed to fetch an image or build from source: error building: failed to solve: failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = oven/bun:1.0.0-slim: docker.io/oven/bun:1.0.0-slim: not found
@kyelewis kyelewis added the bug Something isn't working label Feb 29, 2024
@kyelewis kyelewis changed the title flyctl deploy fails on bun - missing bun:1.0.0-slim on docker hub flyctl deploy fails on bun 1.0.0 - missing bun:1.0.0-slim on docker hub Feb 29, 2024
@abdulqshabbir
Copy link

Replacing this line from FROM oven/bun:1.0.0-slim as base to FROM oven/bun:1.0.7-slim as base seems to work for me if anyone is stuck deploying on this step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants