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 has 32 bit executable which doesn't run on 64bit systems #473

Open
docwhat opened this issue Feb 9, 2024 · 4 comments
Open

Comments

@docwhat
Copy link

docwhat commented Feb 9, 2024

Describe the bug

The /usr/bin/yor binary in the linux/amd64 docker image is 32bit, which does not run on 64bit only systems.

To Reproduce

❯ docker run --platform=linux/amd64 --interactive --rm --tty --entrypoint=/bin/bash bridgecrew/yor:latest
5d1dfc7472ee:/# file /usr/bin/yor
/usr/bin/yor: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, Go BuildID=CbvqDmojsHhggIMkEIqG/IOHFgvj_N2qJIV7PRgo3/Ef7G3DFihdQo6jJX2aDb/FrDSM0Y15XU1_av8dUDv, stripped
5d1dfc7472ee:/# /usr/bin/yor --help
bash: /usr/bin/yor: cannot execute binary file: Exec format error

Expected behavior

The docker image should work on 64bit systems.

Desktop (please complete the following information):

  • OS: Linux with only 64bit support. 32bit is disabled.
  • Yor Version: docker.io/bridgecrew/yor@sha256:8f0f4798093425994ba6e46169669a379dd19069809242f84f9825db2b690407 though it seems to be in all the 0.2.0 versions and 0.1.99.
Copy link

stale bot commented Mar 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added wontfix This will not be worked on and removed wontfix This will not be worked on labels Mar 13, 2024
@docwhat
Copy link
Author

docwhat commented Mar 13, 2024

This is still an issue in latest:

sha256:a1efddbe887b6fb53dee146106499e1f702491f4ab74898106c1d98b4b329abb

Copy link

stale bot commented Apr 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 23, 2024
@docwhat
Copy link
Author

docwhat commented Apr 25, 2024

Still an issue in latest sha256:b1274e796d51ff555a3e1467edef8bf1373827c5e3da460ce96e889857fc16fd (version 0.1.192).

@stale stale bot removed the wontfix This will not be worked on label Apr 25, 2024
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

1 participant