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 compose build fails #3351

Closed
yasinedr opened this issue Feb 8, 2023 · 3 comments
Closed

docker compose build fails #3351

yasinedr opened this issue Feb 8, 2023 · 3 comments

Comments

@yasinedr
Copy link

yasinedr commented Feb 8, 2023

Description:

when I'm trying to execute docker-compose build --no-cache workspace it stucks at composer self-update --2
Storing "stable" as default update channel for the next self-update run.
Upgrading to version 2.5.2 (2.x channel).

In CurlDownloader.php line 365:

curl error 28 while downloading https://getcomposer.org/download/2.5.2/comp
oser.phar: Operation timed out after 300036 milliseconds with 580966 bytes
received

even if I have the latest version of composer installed

Expected Behavior:

image

Context information:

Output of git rev-parse HEAD

6c8cb6dd85eb1fcad6f7dce3e9d6c6a29c6e3ed8

Output of docker version

Docker version 20.10.12, build 20.10.12-0ubuntu4

Output of docker-compose version

docker-compose version 1.29.2

System info: Mac, Windows or Linux. Include which disto/version

windows 11 wsl2 ubuntu20

Steps to reproduce the issue:

  1. Install Docker Desktop, Docker CLI, Docker Compose & Unison. Docs are unclear about required packages.
  2. Install WSL2 with ubuntu Docker , docker-compose ....
  3. Follow https://laradock.io/getting-started/#A2 This also fails for an existing project
  4. Run docker-compose build --no-cache workspace

Stacktrace & Additional info:

{paste here}
@parallels999
Copy link

Feel free to make a PR to fix that, thanks

@stale
Copy link

stale bot commented May 21, 2023

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label May 21, 2023
@stale
Copy link

stale bot commented Aug 12, 2023

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants