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

Docker-Image 3.0.0 Buggy on apple chips #10

Closed
hdruse opened this issue Apr 5, 2024 · 3 comments
Closed

Docker-Image 3.0.0 Buggy on apple chips #10

hdruse opened this issue Apr 5, 2024 · 3 comments

Comments

@hdruse
Copy link

hdruse commented Apr 5, 2024

Running violations-command-line in docker sometimes result in following error:

The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.

The error is not happening all the time. and i never encountered it with previous versions though the script for creating the docker image did not change.

@hdruse hdruse changed the title Docker-Image 3.0.1 Buggy on apple chips Docker-Image 3.0.0 Buggy on apple chips Apr 5, 2024
@tomasbjerre
Copy link
Owner

Are you using the image from Dockerhub?

"the script for creating the docker image " do you mean you are extracting the binary from the image? How?

The big thing in 3.0.0 was using native compiled binary in the image, not a jar. The jar is available in Maven Central.

@hdruse
Copy link
Author

hdruse commented Apr 5, 2024

I am using the Image from Dockerhub.

"the script for creating the docker image " do you mean you are extracting the binary from the image? How?

I am refering to build-docker.sh

Running on a mbpro with m3 pro

image

@tomasbjerre
Copy link
Owner

I published 3.0.2 now that reverts back from native to a runnable jar.

Thanks for reporting, open issue again if not working.

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

2 participants