Created
November 4, 2014 22:01
-
-
Save bamthomas/1a486765fbcd1fcc374c to your computer and use it in GitHub Desktop.
Dockerfile ejabberd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
RUN apt-get update && apt-get install -y wget | |
RUN wget http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/14.07/ejabberd-14.07-linux-x86_64-installer.run -O ejabberd-14.07-linux-x86_64-installer.run | |
RUN chmod +x ejabberd-14.07-linux-x86_64-installer.run | |
RUN ./ejabberd-14.07-linux-x86_64-installer.run --mode unattended --adminpw admin | |
ADD ejabberd.yml /opt/ejabberd-14.07/conf/ | |
EXPOSE 5222 5280 | |
CMD /opt/ejabberd-14.07/bin/ejabberdctl start && tail -f /opt/ejabberd-14.07/logs/ejabberd.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment