From fdda0547787a772069680c8a018395490f790f62 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Tue, 21 Jul 2015 00:51:54 +0000 Subject: [PATCH] Add qcore-static --- net/qcore-static/Dockerfile | 16 ++++++++++++++++ net/qcore-static/run.sh | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 net/qcore-static/Dockerfile create mode 100755 net/qcore-static/run.sh 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 $*