-
-
Notifications
You must be signed in to change notification settings - Fork 310
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug.
The CLI x86_64 tarball is dynamically linked against glibc and Alpine based images expects musl-compatible binaries.
Hence, when trying to create a Docker image based on alpine it fails to run with:
ld-linux-x86-64.so.2: /opt/asyncapi/bin/node: Not a valid dynamic program
When run ldd asyncapi:
/lib/ld-musl-x86_64.so.1: cannot load asyncapi: No such file or directory
Expected behavior
I would expect that I can run asyncapi cli on alpine distro.
Screenshots
How to Reproduce
Dockerfile:
FROM alpine:3.21
RUN apk update
RUN apk --no-cache add bash
# Install asyncapi-cli
ENV ASYNCAPI_VERSION="v2.16.5"
RUN wget --quiet -c -O- https://github.com/asyncapi/cli/releases/download/$ASYNCAPI_VERSION/asyncapi.tar.gz | tar -xz -C /opt
RUN ln -s /opt/asyncapi/bin/asyncapi /usr/local/bin/asyncapiDocker run commands
docker build --platform linux/amd64 . -t imgdocker run img asyncapi
This also fails when installing glibc compatibility packages libc6-compat or gcompat.
🥦 Browser
None
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
None
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done
