frankenphp
frankenphp copied to clipboard
No symlinks in vendor if embedded on static build
What happened?
I'm using openapi-generator to generate code from a openapi spec. The resulting bundle will be placed into generated/api-bundle. According to the documentation, the composer.json should be edited like this:
"repositories": [
{
"type": "path",
"url": "generated/api-bundle"
}
],
and composer will handle this by creating a directory based on the first part of package name and symlinks to this directory. So good so clear.
Due to the code, this is not support yet?
Build Type
Docker (Alpine)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
---
Relevant log output
Interesting! What does it do on Windows?
We should probably turn any symlinks into actual copies — at least when embedding.