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

Bun Support #235

Open
mjarkk opened this issue Sep 20, 2023 · 2 comments
Open

Bun Support #235

mjarkk opened this issue Sep 20, 2023 · 2 comments

Comments

@mjarkk
Copy link

mjarkk commented Sep 20, 2023

Context

I would like to use bun together with chrome and it would be nice if there was a docker version that included the bun binary.

Alternatives

I should be able to write a dockerfile myself but it requires just a shitload of time as that's not my day to day activity and someone else also has to go trough the same thing probably.

So far I have not succeeded in installing bun within a alpine chrome container.

Has the feature been requested before?

Doesn't seem like

If the feature request is accepted, would you be willing to submit a PR?

Looking at the other Dockerfiles in this repo I'm not sure if I'm smart enough to complete that hehe

Yes / No (Help can be provided if you need assistance submitting a PR)

Probably.

@zigarn
Copy link
Member

zigarn commented Sep 21, 2023

https://gitlab.alpinelinux.org/alpine/aports/-/issues/13998 is not encouraging, but can try to build from scratch with glibc installed (like for deno).
Can inspire from https://github.com/oven-sh/bun/blob/main/dockerhub/Dockerfile-alpine

@HugoGresse
Copy link

HugoGresse commented May 18, 2024

We can install bun easily with :

RUN apk --no-cache add bash curl
RUN curl -fsSL https://bun.sh/install | bash

but bun has some issues with arch (x86/arm): 0.050 OrbStack ERROR: Dynamic loader not found: /lib64/ld-linux-x86-64.so.2
(running on M3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants