summaryrefslogtreecommitdiff
path: root/provisioning/Dockerfile
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2014-12-09 17:06:45 +0100
committerFolker Bernitt <fbernitt@thoughtworks.com>2014-12-09 17:06:45 +0100
commitff4297295583886e28ffe74f6f59b3eb5dba4cd0 (patch)
tree9596f8b3de9945aa4d4120c64d4dda7acc513349 /provisioning/Dockerfile
parent52a0a604d4d21f313d511d979b68f8f173c862d0 (diff)
Added Dockerfile to build user agent from debian packages.
Diffstat (limited to 'provisioning/Dockerfile')
-rw-r--r--provisioning/Dockerfile48
1 files changed, 48 insertions, 0 deletions
diff --git a/provisioning/Dockerfile b/provisioning/Dockerfile
new file mode 100644
index 00000000..def6a610
--- /dev/null
+++ b/provisioning/Dockerfile
@@ -0,0 +1,48 @@
+# DOCKER-VERSION 1.1.0
+#
+# Copyright (c) 2014 ThoughtWorks Deutschland GmbH
+#
+# Pixelated is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Pixelated is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
+# builds the pixelated-user-agent using the debian packages
+
+FROM debian:testing
+
+MAINTAINER fbernitt@thoughtworks.com
+
+# Force -y for apt-get
+RUN echo "APT::Get::Assume-Yes true;" >>/etc/apt/apt.conf
+
+# Install Pixelated User Packages
+RUN echo "deb http://packages.pixelated-project.org/debian wheezy-snapshots main" >> /etc/apt/sources.list
+RUN echo "deb http://packages.pixelated-project.org/debian wheezy-backports main" >> /etc/apt/sources.list
+RUN echo "deb http://packages.pixelated-project.org/debian wheezy main" >> /etc/apt/sources.list
+RUN echo "deb http://deb.bitmask.net/debian/ wheezy main" >> /etc/apt/sources.list
+RUN echo "deb http://deb.leap.se/experimental wheezy main" >> /etc/apt/sources.list
+RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-key 1E34A1828E207901 && \
+ apt-key adv --keyserver pool.sks-keyservers.net --recv-key 287A1542472DC0E3
+
+# Update packages lists
+RUN apt-get update -y --force-yes
+
+# Install pip for taskthread dependency (no backport yet)
+RUN apt-get install python-pip
+RUN pip install taskthread
+
+RUN apt-get install -y --force-yes --allow-unauthenticated soledad-client=0.6.1~509f76c soledad-common=0.6.1~509f76c
+# Install Pixelated User Agent
+RUN apt-get install -y --force-yes pixelated-user-agent
+
+EXPOSE 4567
+