aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-09-12 11:42:54 +0200
committerBadlop <badlop@process-one.net>2022-09-13 17:55:11 +0200
commitd0bc83147a02805fcd0c6262472bac1bccaa5b63 (patch)
tree9e0f2b83ffde991f355908deb625e82376b9639b /.github
parentDon't persist 'none' role (thanks to Blake Miller)(#3330) (diff)
Container: Copy .ejabberd-modules directory if available
Diffstat (limited to '.github')
-rw-r--r--.github/container/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/container/Dockerfile b/.github/container/Dockerfile
index 24d296c69..541dabd66 100644
--- a/.github/container/Dockerfile
+++ b/.github/container/Dockerfile
@@ -46,6 +46,8 @@ RUN BINPATH=$(dirname $(find /opt -name msgs))/bin/ \
&& mkdir -p $BINPATH \
&& cp tools/captcha*.sh $BINPATH
+RUN [ ! -d .ejabberd-modules ] || cp -r .ejabberd-modules /opt/ejabberd/
+
RUN export PEM=/opt/ejabberd/conf/server.pem \
&& curl -o "/opt/ejabberd/conf/cacert.pem" 'https://curl.se/ca/cacert.pem' \
&& openssl req -x509 \