frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

No symlinks in vendor if embedded on static build

Open tina-junold opened this issue 7 months ago • 1 comments

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


tina-junold avatar Jun 03 '25 09:06 tina-junold

Interesting! What does it do on Windows?

We should probably turn any symlinks into actual copies — at least when embedding.

withinboredom avatar Jun 07 '25 08:06 withinboredom