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 images broken #75

Open
MeneDev opened this issue Apr 8, 2024 · 3 comments
Open

Docker images broken #75

MeneDev opened this issue Apr 8, 2024 · 3 comments

Comments

@MeneDev
Copy link

MeneDev commented Apr 8, 2024

The docker images only provide the binary of the extism CLI, but that is not a standalone binary, it requires e.g. libc.

running ldd /extism on the linux/arm64 variant returns

        /lib/ld-linux-aarch64.so.1 (0x7ffffff5d000)
        libdl.so.2 => /lib/ld-linux-aarch64.so.1 (0x7ffffff5d000)
        libc.so.6 => /lib/ld-linux-aarch64.so.1 (0x7ffffff5d000)
        libpthread.so.0 => /lib/ld-linux-aarch64.so.1 (0x7ffffff5d000)

Any attempt to use the image will give the error message

exec /extism: no such file or directory
@nilslice
Copy link
Member

nilslice commented Apr 8, 2024

Hi - what is the image you're getting these errors?

These extism images were intended to only run in earlier stage images to install libextism.so and extism.h, not in a final stage image.

Do you need the extism CLI in your final stage image?

@MeneDev
Copy link
Author

MeneDev commented Apr 8, 2024

Ah, ok sorry then. I was talking about the latest extism/cli and I expected the image to be usable as the cli tool, as an alternative to installing the tool. Some people I work with are not too fond of piping a script from the web into their local shell, so that seemed like the better alternative.

@nilslice
Copy link
Member

nilslice commented Apr 8, 2024

Ah, totally makes sense. We can make it work for that. Thanks for letting me know.

Will ping this issue when it's fixed.

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

2 participants