ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.78k stars 2.86k forks source link

[2.2.4 docker-compose] is unable to pass ETHERPAD_LOCAL_PLUGINS via ARG during build and runtime #6640

Closed bharath-naik closed 2 months ago

bharath-naik commented 2 months ago

Description I am trying to pass local plugins to Etherpad-Lite using the ETHERPAD_LOCAL_PLUGINS argument in the docker-compose.yml file, but the plugins are not being installed correctly during the Docker build process.

To Reproduce Steps to reproduce the behavior:

Expected behavior The local plugins from ../customPlugins/ep_headings3 and ../customPlugins/ep_align should be installed during the build process via pnpm or should be loaded during docker-compose run time.

Server (please complete the following information): Etherpad version: 2.2.2 OS: Ubuntu 22 Node.js version (22): npm version (10.8): pnpm version (9.9.0) Is the server free of plugins: yes

SamTV12345 commented 2 months ago

Unfortunately Docker does not allow to map a directory at build time. Please try to use COPY ../customPlugins/ep_headings3 ../customPlugins/ep_align in your Dockerfile