diff --git a/net/qcore-static/Dockerfile b/net/qcore-static/Dockerfile new file mode 100644 index 0000000..0c48032 --- /dev/null +++ b/net/qcore-static/Dockerfile @@ -0,0 +1,16 @@ +FROM 32bit/ubuntu:14.04 + +RUN apt-get update && apt-get install -y --force-yes bzip2 wget + +RUN mkdir /quassel/bin -p && cd /quassel/bin &&\ + wget http://quassel-irc.org/pub/quasselcore-static-0.12.2.bz2 &&\ + bzip2 -d quasselcore-static-0.12.2.bz2 &&\ + mv quasselcore-static-0.12.2 qcore &&\ + chmod u+x qcore + +ADD ./run.sh /quassel/bin/run.sh +RUN mkdir /quassel/data + +EXPOSE 4242 + +CMD /quassel/bin/run.sh diff --git a/net/qcore-static/run.sh b/net/qcore-static/run.sh new file mode 100755 index 0000000..8f81933 --- /dev/null +++ b/net/qcore-static/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +/quassel/bin/qcore --configdir /quassel/data $*