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

Use curl to download composer #561

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Use curl to download composer #561

merged 1 commit into from
Mar 6, 2023

Conversation

larsnystrom
Copy link
Contributor

This is necessary for users behind proxies. Curl will automatically use the https_proxy environment variable, but php -r readfile(...) will not. Environment variables must still be set as build args for this to work, however before this change composer would not install correctly despite having set the proxy vars as build args. Instead composer would be missing from the image.

I suspect this will solve #195 but I can't be sure it's the same issue.

@taylorotwell taylorotwell merged commit 19d6fe1 into laravel:1.x Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants