summaryrefslogtreecommitdiff
path: root/provisioning
diff options
context:
space:
mode:
authorChristoph Kluenter <ckluente@thoughtworks.com>2015-06-09 09:18:46 +0200
committerChristoph Kluenter <ckluente@thoughtworks.com>2015-06-09 09:21:20 +0200
commitc0c63a94cd497c0d0d26823a7f28d39bb74406ce (patch)
tree42f07048a1baec3d86206df4d0d215dd134d7984 /provisioning
parent006d753c391d82baa634f112e5d8d06b61eeaaeb (diff)
pin python-sqlcipher to our version
Problem is, that the debian version is linked against a broken sqlcipher. Our version is statically linked against a version of sqlcipher that comes with python-sqlcipher. See https://github.com/pixelated-project/project-issues/issues/110
Diffstat (limited to 'provisioning')
-rw-r--r--provisioning/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/provisioning/Dockerfile b/provisioning/Dockerfile
index 32da36d0..930ed875 100644
--- a/provisioning/Dockerfile
+++ b/provisioning/Dockerfile
@@ -32,6 +32,10 @@ RUN echo "deb http://deb.leap.se/experimental wheezy main" >> /etc/apt/sources.l
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-key 1E34A1828E207901 && \
apt-key adv --keyserver pool.sks-keyservers.net --recv-key 287A1542472DC0E3
+RUN echo "Package: python-sqlcipher" > /etc/apt/preferences.d/python-sqlcipher
+RUN echo "Pin: version 2.6.3.3+0~20141111222659.14+wheezy~1.gbp2d164a+pix1" >> /etc/apt/preferences.d/python-sqlcipher
+RUN echo "Pin-Priority: 1000" >> /etc/apt/preferences.d/python-sqlcipher
+
# Update packages lists
RUN apt-get update -y --force-yes