mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 05:00:36 +00:00
Download modules, install modules and delete modules in one Docker RUN.
This commit is contained in:
parent
476dbd06b8
commit
5537365e36
1 changed files with 4 additions and 6 deletions
10
Dockerfile
10
Dockerfile
|
@ -67,9 +67,8 @@ COPY conf.d/*.cfg.lua /usr/local/etc/prosody/conf.d/
|
||||||
|
|
||||||
COPY *.bash /usr/local/bin/
|
COPY *.bash /usr/local/bin/
|
||||||
|
|
||||||
RUN download-prosody-modules.bash
|
RUN download-prosody-modules.bash \
|
||||||
|
&& docker-prosody-module-install.bash \
|
||||||
RUN docker-prosody-module-install.bash \
|
|
||||||
bookmarks `# XEP-0411: Bookmarks Conversion` \
|
bookmarks `# XEP-0411: Bookmarks Conversion` \
|
||||||
carbons `# message carbons (XEP-0280)` \
|
carbons `# message carbons (XEP-0280)` \
|
||||||
cloud_notify `# XEP-0357: Push Notifications` \
|
cloud_notify `# XEP-0357: Push Notifications` \
|
||||||
|
@ -79,9 +78,8 @@ RUN docker-prosody-module-install.bash \
|
||||||
smacks `# stream management (XEP-0198)` \
|
smacks `# stream management (XEP-0198)` \
|
||||||
throttle_presence `# presence throttling in CSI` \
|
throttle_presence `# presence throttling in CSI` \
|
||||||
http_upload `# file sharing (XEP-0363)` \
|
http_upload `# file sharing (XEP-0363)` \
|
||||||
vcard_muc `# XEP-0153: vCard-Based Avatar (MUC)`
|
vcard_muc `# XEP-0153: vCard-Based Avatar (MUC)` \
|
||||||
|
&& rm -rf "/usr/src/prosody-modules"
|
||||||
RUN rm -rf "/usr/src/prosody-modules"
|
|
||||||
|
|
||||||
USER prosody
|
USER prosody
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue