yor icon indicating copy to clipboard operation
yor copied to clipboard

docker image has 32 bit executable which doesn't run on 64bit systems

Open docwhat opened this issue 1 year ago • 5 comments

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.

docwhat avatar Feb 09 '24 19:02 docwhat

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[bot] avatar Mar 13 '24 06:03 stale[bot]

This is still an issue in latest:

sha256:a1efddbe887b6fb53dee146106499e1f702491f4ab74898106c1d98b4b329abb

docwhat avatar Mar 13 '24 15:03 docwhat

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[bot] avatar Apr 23 '24 02:04 stale[bot]

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

docwhat avatar Apr 25 '24 18:04 docwhat

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[bot] avatar May 26 '24 13:05 stale[bot]