Closed xzy66s closed 7 months ago
🤖
Hey @xzy66s! :wave: I'm Dosu, a friendly bot here to assist with bugs and questions while you're waiting for a human. I'm on standby to make your experience better, so feel free to reach out to me anytime. Let's get through this together! :robot::wrench:
The error you're encountering seems to be related to the Docker build process for the frontend service. The error message indicates that the Docker build process is unable to fetch and install the required packages (libc6-compat
, python3
, make
, g++
) due to a permission issue with the Alpine package repository.
There are a few potential solutions to this issue based on similar issues in the Quivr repository:
Set the Docker daemon.json with the correct DNS. This solution was suggested in the issue [Bug]: frontend build failed when running with ollama in step "RUN apk add --no-cache libc6-compat python3 make g++". The issue might be related to DNS resolution problems when Docker is trying to fetch the packages from the Alpine repository.
Change line endings from CRLF to LF for the backend/scripts/start.sh
file and rebuild the Docker image. This solution was suggested in the issue Error with Docker compose for backend. This issue might be related to the line endings in the start script causing problems when the Docker image is being built.
Use a VPN set to the United States to resolve network environment issues. This solution was suggested in the issue failed to solve: process "/bin/sh -c apk add --update --no-cache python3 make g++ && ln -sf python3 /usr/bin/python" did not complete successfully: exit code: 3. This issue might be related to network restrictions or limitations in certain regions.
Please try these solutions and let me know if any of them resolve your issue. If not, could you provide more information about your environment? Specifically, the exact versions of Docker and Docker Compose you're using could be helpful in diagnosing the issue.
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.
{ "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "dns": [ "8.8.8.8", "114.114.114.114" ], "experimental": false }
What happened?
Executing docker compose up --build throws an exception. why?
Relevant log output
Twitter / LinkedIn details
No response