mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-03 20:51:14 +00:00
Download prosody-modules only once.
This commit is contained in:
parent
2500028412
commit
9e24592826
5 changed files with 19 additions and 72 deletions
11
Dockerfile
11
Dockerfile
|
@ -65,8 +65,11 @@ COPY prosody.cfg.lua /usr/local/etc/prosody/prosody.cfg.lua
|
|||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY conf.d/*.cfg.lua /usr/local/etc/prosody/conf.d/
|
||||
|
||||
COPY docker-prosody-module-* /usr/local/bin/
|
||||
RUN docker-prosody-module-install \
|
||||
COPY *.bash /usr/local/bin/
|
||||
|
||||
RUN download-prosody-modules.bash
|
||||
|
||||
RUN docker-prosody-module-install.bash \
|
||||
bookmarks `# XEP-0411: Bookmarks Conversion` \
|
||||
carbons `# message carbons (XEP-0280)` \
|
||||
cloud_notify `# XEP-0357: Push Notifications` \
|
||||
|
@ -76,10 +79,12 @@ RUN docker-prosody-module-install \
|
|||
smacks `# stream management (XEP-0198)` \
|
||||
throttle_presence `# presence throttling in CSI`
|
||||
|
||||
RUN docker-prosody-module-copy \
|
||||
RUN docker-prosody-module-copy.bash \
|
||||
http_upload `# file sharing (XEP-0363)` \
|
||||
vcard_muc `# XEP-0153: vCard-Based Avatar (MUC)`
|
||||
|
||||
RUN rm -rf "/usr/src/prosody-modules"
|
||||
|
||||
USER prosody
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue