acoustic-carpenter-78188
04/18/2023, 12:39 AM$ docker run -it --platform linux/arm64 -u root <http://cr.flyte.org/flyteorg/flyteadmin-release:latest|cr.flyte.org/flyteorg/flyteadmin-release:latest> sh
/ # apk add file
/ # file bin/flyteadmin
bin/flyteadmin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=pwwxVfCtJjTsZm9XA0ED/BJdCEuBm0QjhMujOZ7E7/a_vHl8mBZ4xrHPFYqAdf/on6kzeFZfsYdRjhPjzhK, stripped
Other images also have this issue, for example:
$ docker run -it --platform linux/arm64 -u root <http://cr.flyte.org/flyteorg/datacatalog:latest|cr.flyte.org/flyteorg/datacatalog:latest> sh
/ # apk add file
/ # file bin/datacatalog
bin/datacatalog: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=YBzDJD8nguzh9dRW4GPp/iKNJqrMQzbqKL7lVR_L0/_wLIwVTI2EO3sXJO2Sup/5m-2xGfqxh4rTZlXehX4, not stripped
I did not check every images, but I'm pretty sure that most images have the issue.
Expected behavior
ARM64 Docker Images should not contain x86_64 binaries. They should contain arm64 binaries instead. Graviton instances should be able to run flyte using docker.
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
04/18/2023, 12:39 AM