mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Docker Image missing dependencies for plugin system #526
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Drummss on GitHub (Dec 20, 2025).
Originally assigned to: @parkervcp on GitHub.
Current Behavior
When you try to install a plugin that has composer package dependencies I believe it fails because composer is not available in the runtime Docker image.
Expected Behavior
Plugins should install correctly even when they have composer package dependencies. The current Docker image is following best practices - as build tooling is not usually included in runtime images. However, as the plugin system uses composer to install packages dynamically at run time, the runtime image will need to support the use of composer, or the system will need to be changed to have the packages included at runtime in a different way. Perhaps an alternative could be bundling the packages with the plugin - though I don't love that approach myself. Or maybe a service that lets you download the package directly over HTTP rather than using the composer tool itself.
Another thing to note: assuming that the plugin's composer packages are installed into
vendor, there will need to be some way to restore the packages each time the container is started. This could be as simple as volume mounting thevendorfolder onto the host system - though I'm not sure if that is a good idea. The plugin system could be changed to install packages on each startup. Or perhaps the plugins could install composer packages into it's own folder (such asplugins/vendoror localizing it further likeplugins/player-counter/vendor- as thepluginsfolder gets mounted onto the host already.It's possible that that yarn may also need to be installed into the runtime image, along with a way of persisting installed node packages.
Steps to Reproduce
Using the the Panel running with the provided Docker image: try to install a plugin that have composer package dependencies. An example of one would be the
player-counterplugin. The plugin will not work correctly, as well as the migrations not being run (which I believe is due to the plugin install code failing before it gets to running the migrations).Panel Version
beta30
Wings Version
beta21
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@coderabbitai[bot] commented on GitHub (Dec 20, 2025):
📝 CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
Examples
🔗 Similar Issues
Possible Duplicates
Related Issues
👤 Suggested Assignees
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord or schedule a call!
@mrhid6 commented on GitHub (Dec 21, 2025):
The plugin system also requires
yarnand currently the docker image also doesn’t include this.@QuintenQVD0 commented on GitHub (Jan 24, 2026):
We had done that is 2034 but 2063 was merged in favor but not everything was in it.