cuddly-jelly-27016
08/06/2025, 12:38 AMImageSpec class has a hardcoded default platform of linux/amd64, which causes compatibility issues when developing on different machine architectures, particularly on Apple Silicon Macs (ARM64).
image_spec = ImageSpec(
registry="localhost:30000",
packages=[
new_flytekit,
],
apt_packages=["git"],
)
### Goal: What should the final outcome look like, ideally?
The ImageSpec should automatically detect the current machine's architecture and set an appropriate default platform:
"linux/arm64" for Apple Silicon Macs (ARM64)
"linux/amd64" for Intel Macs (x86_64)
Maintain backward compatibility for production environments
### Describe alternatives you've considered
N/A
### Propose: Link/Inline OR Additional context
N/A
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
08/27/2025, 4:39 AM