From c5ce81a61ce2b04562e3be616427efaa627f019f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Jan 2014 08:32:14 -0600 Subject: add mediengewitter.krebsco.de/magnets --- sites/mediengewitter.krebsco.de/magnets/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sites/mediengewitter.krebsco.de/magnets/Dockerfile (limited to 'sites/mediengewitter.krebsco.de/magnets/Dockerfile') diff --git a/sites/mediengewitter.krebsco.de/magnets/Dockerfile b/sites/mediengewitter.krebsco.de/magnets/Dockerfile new file mode 100644 index 00000000..8bf400d5 --- /dev/null +++ b/sites/mediengewitter.krebsco.de/magnets/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu:latest +RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list +RUN dpkg-divert --local --rename --add /sbin/initctl +RUN ln -s /bin/true /sbin/initctl +RUN apt-get update +RUN apt-get install -y python-software-properties python g++ make +RUN add-apt-repository -y ppa:chris-lea/node.js +RUN apt-get update +RUN apt-get -y install nodejs +RUN mkdir -p /opt/magnets +Add magnets/ /magnets +RUN cd /magnets && npm install +# fix crappy wwwdude +RUN cp /magnets/node_modules/wwwdude/lib/wwwdude/node-versions/v0.5.x.js /magnets/node_modules/wwwdude/lib/wwwdude/node-versions/v0.10..js +# -v /media/ext/magnet_pics/:/images +ENV image_folder /images +CMD ["/magnets/run.sh"] -- cgit v1.2.3