mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Container: Remove unused Mix stuff: ejabberd script and static COOKIE
Instead of including this file in the container with static content: /opt/ejabberd-master/releases/COOKIE the cookie file will be generated by erlang in /opt/ejabberd/.erlang.cookie or by ejabberdctl if ERLANG_COOKIE environment variable was provided.
This commit is contained in:
parent
2c1ee698cc
commit
874b961680
3
.github/container/Dockerfile
vendored
3
.github/container/Dockerfile
vendored
@ -46,6 +46,9 @@ RUN cp -p 'tools/captcha'*'.sh' "/opt/ejabberd-$VERSION/lib"
|
||||
|
||||
RUN [ ! -d .ejabberd-modules ] || cp -r .ejabberd-modules /opt/ejabberd/
|
||||
|
||||
RUN find "/opt/ejabberd-$VERSION/bin" -name 'ejabberd' -delete \
|
||||
&& find "/opt/ejabberd-$VERSION/releases" -name 'COOKIE' -delete
|
||||
|
||||
RUN export PEM=/opt/ejabberd/conf/server.pem \
|
||||
&& curl -o "/opt/ejabberd/conf/cacert.pem" 'https://curl.se/ca/cacert.pem' \
|
||||
&& openssl req -x509 \
|
||||
|
Loading…
Reference in New Issue
Block a user