You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The dokcer build is failing as it cannot find file altinity-mcp #5
The repo doesn't contain a file named altinity-mcp, and the Docker has a COPY step and an entrypoint step which uses it, so docker build fails.
Attached logs below
`docker build -t altinity-mcp .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 276kB
Step 1/6 : FROM alpine:latest
---> 9234e8fb04c4
Step 2/6 : RUN apk --no-cache add ca-certificates curl
---> Using cache
---> 2919c2a5bed9
Step 3/6 : WORKDIR /app
---> Using cache
---> 8e38b96265ae
Step 4/6 : COPY altinity-mcp .
COPY failed: file not found in build context or excluded by .dockerignore: stat altinity-mcp: file does not exist`
Hi! It's more about execution stage, after building an image I can't start a container, due to /bin/altinity-mcp binary not found error, I've deep dived into a container (in sleep inf mode) and with help of ldd /bin/altinity-mcp found than libc6 library missed.
Activity
Slach commentedon Jul 29, 2025
you need to build
altnity-mcpbinary separatelylook details https://github.com/Altinity/altinity-mcp/blob/main/.github/workflows/build-altinity-mcp.yml#L67-L92
in the future, maybe we will add to
Dockerfileseparatebuilderstage for indepdendent buildingyou can just use
docker pull ghcr.io/altinity/altinity-mcp:v1.0.0Shyamsundar45 commentedon Jul 29, 2025
Thank you, I ended up doing the same and pulled the image directly. I understand this is still an evolving repo. Appreciate the quick response! :)
EvilFreelancer commentedon Sep 16, 2025
Need to add to the Dockerfile following line:
RUN apk --no-cache add libc6-compatSlach commentedon Sep 16, 2025
@EvilFreelancer could you explain
which is your commands sequences?
feel free to create pull request with explanation
EvilFreelancer commentedon Sep 16, 2025
Hi! It's more about execution stage, after building an image I can't start a container, due to
/bin/altinity-mcp binary not founderror, I've deep dived into a container (insleep infmode) and with help ofldd /bin/altinity-mcpfound than libc6 library missed.EvilFreelancer commentedon Sep 16, 2025
I can create a PR, it's just a one line fix related to alpine based images :)
By the way, I recommend to try a golang docker image as foundation, it's a little bit better than keeping artifacts directly in repo.
Slach commentedon Sep 16, 2025
@EvilFreelancer
how exactly you build altinity-mcp ?
did you use CGO_ENABLED=0?
Slach commentedon Sep 16, 2025
@EvilFreelancer look https://github.com/Altinity/altinity-mcp/blob/main/.github/workflows/build-altinity-mcp.yml#L70
oauth/cimd: 10 minor-finding follow-ups (bugs + dead-code + docs)