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

"Illegal instruction" in Docker #1342

Closed
khromov opened this issue Oct 17, 2022 · 2 comments
Closed

"Illegal instruction" in Docker #1342

khromov opened this issue Oct 17, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@khromov
Copy link

khromov commented Oct 17, 2022

Version

0.2.0

Platform

Linux 92475282fbe3 5.15.68.1-microsoft-standard-WSL2 #1 SMP Mon Sep 19 19:14:52 UTC 2022 x86_64 Linux

What steps will reproduce the bug?

Build a simple Dockerfile and run it:

FROM jarredsumner/bun:0.2.0
CMD ["bun", "--version"]
docker build . -t bun --no-cache
docker run -it bun sh
/ # bun --version
Illegal instruction

How often does it reproduce? Is there a required condition?

I'm pretty sure it's the same issue as #733 where my CPU doesn't support AVX2, but that issue was marked as resolved and I can run Bun outside of Docker (but in WSL) on my machine without issues. So perhaps the Docker image is built with forced AVX2 support?

What is the expected behavior?

It should work

What do you see instead?

Illegal instruction

Additional information

No response

@khromov khromov added bug Something isn't working needs repro Needs an example to reproduce labels Oct 17, 2022
@Electroid Electroid added os and removed needs repro Needs an example to reproduce labels Nov 3, 2022
@eclairevoyant
Copy link

see #67 (comment), use one of the baseline builds

also this is a duplicate

@Electroid
Copy link
Contributor

Duplicate of #67

@Electroid Electroid marked this as a duplicate of #67 Oct 24, 2023
@Electroid Electroid closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2023
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

3 participants