unclev / prosody-docker-extended

Docker image building system for the Prosody XMPP server with Community Modules and telnet console
MIT License
25 stars 9 forks source link

Add packages for mod_invites #18

Open Dominion0815 opened 3 years ago

Dominion0815 commented 3 years ago

Hi,

please add libjs-bootstrap4 and libjs-jquery debian package in your image. It is needed by this module: https://modules.prosody.im/mod_invites

Many thanks!

unclev commented 3 years ago

This is on my list for July after #15.

Meanwhile you can try patch an existing image with Dockerfile like this:

FROM unclev/prosody-docker-extended:trunk
# install libjs-bootstrap4 and libjs-jquery for mod_invites
USER root
RUN set -x \
 && apt-get update -qq \
 && apt-get install -y \
      libjs-bootstrap4 \
      libjs-jquery
USER prosody

and pull the required Community Modules.

One simple way to update all the Community modules would be remove everything (including hidden files from /usr/lib/prosody/modules-community directory: rm -Rv .* *, down (stop, remove) and start the prosody container.

Please let me know if this works for you.

Dominion0815 commented 3 years ago

It is still working for me, I created an update.sh bash script and run: docker exec --user root prosody apt update docker exec --user root prosody apt -y install libjs-bootstrap4 libjs-jquery