summaryrefslogtreecommitdiff
path: root/provisioning/Dockerfile
blob: cbde6f535c0fe2dd12f8d2a5e0cabc4111afff1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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/>.


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 python-all-dev libssl-dev
RUN pip install taskthread

RUN apt-get install -y --force-yes --allow-unauthenticated soledad-client soledad-common
# Install Pixelated User Agent
RUN apt-get install -y --force-yes pixelated-user-agent

# reinstall pysqlcipher from pip
RUN rm -rf /usr/lib/python2.7/dist-packages/pysqlcipher*
RUN pip install pysqlcipher

EXPOSE 4567