benjaminjonard / koillection

Koillection is a self-hosted service allowing users to manage any kind of collections.
https://github.com/koillection/koillection/wiki
MIT License
604 stars 27 forks source link

[BUG] Running the last version as root in docker trigger a composer error #1046

Closed vyrtualsynthese closed 7 months ago

vyrtualsynthese commented 8 months ago

Sorry I dont have the error at hand but container boostrap will crash on composer step 3 because of running container as root without COMPOSER_ALLOW_SUPERUSER="1" env variable.

You should update env variables documentation just in case.

benjaminjonard commented 7 months ago

I encountered the problem in my CI and other projects too. Apparently it is a new behavior from the latest composer version. I pushed a temporary fix, I'll see if I can find a better way to handle this.