From 55f836776be2dee977426716e00ddb9830445f09 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 2 May 2017 08:43:25 -0400 Subject: [PATCH] Enable deb-src lines. This fixes the failure to get python-openssl build deps. --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 23a8c9d..657696d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,10 @@ RUN apt-get --quiet update && apt-get --quiet install -y \ python-virtualenv \ && rm -rf /var/lib/apt/lists/* +# Source repositories seem to be disabled on the Xenial image now. Enable +# them so we can actually get some build deps. +RUN sed -i -e 's/^# deb-src/deb-src/' /etc/apt/sources.list + # magic-wormhole depends on these and pip wants to build them both from # source. RUN apt-get --quiet update && apt-get --quiet build-dep -y \