Skip to content

Docker images broken #75

Open
Open

Description

@MeneDev

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

Activity

  1. nilslice commented on Apr 8, 2024

    @nilslice
    Member

    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?

  2. MeneDev commented on Apr 8, 2024

    @MeneDev
    Author

    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.

  3. nilslice commented on Apr 8, 2024

    @nilslice
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions