Skip to content

Memray not running on distroless #664

Answered by godlygeek
Partho asked this question in Q&A
Discussion options

You must be logged in to vote

I see: your _memray.*.so is called _memray.cpython-39-x86_64-linux-gnu.so, but your Python is looking for _memray.cpython-39-aarch64-linux-gnu.so. It appears that you copied x86-64 executable code from your base image into an aarch64 distroless image. That's why it's not working: an aarch64 (ARM) Python can't import modules built for x86_64 (Intel).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Partho
Comment options

@godlygeek
Comment options

@Partho
Comment options

@godlygeek
Comment options

Answer selected by godlygeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants