Skip to content

Instantly share code, notes, and snippets.

@bamthomas
Created November 4, 2014 22:01
Show Gist options
  • Save bamthomas/1a486765fbcd1fcc374c to your computer and use it in GitHub Desktop.
Save bamthomas/1a486765fbcd1fcc374c to your computer and use it in GitHub Desktop.
Dockerfile ejabberd
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