summary refs log tree commit diff
path: root/docker
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-02-14 17:34:09 +0000
committerRichard van der Hoff <richard@matrix.org>2019-02-14 17:34:09 +0000
commitbf4fd1480652f2af1eb54326c5a3130ceb295a07 (patch)
tree7c015345c6d48b1ddd284a7c54c3ca7ec1219015 /docker
parentMerge branch 'master' into develop (diff)
parentMerge branch 'release-v0.99.1' (diff)
downloadsynapse-bf4fd1480652f2af1eb54326c5a3130ceb295a07.tar.xz
Merge branch 'master' into develop
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile-dhvirtualenv6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/Dockerfile-dhvirtualenv b/docker/Dockerfile-dhvirtualenv
index ab28e49291..224c92352d 100644
--- a/docker/Dockerfile-dhvirtualenv
+++ b/docker/Dockerfile-dhvirtualenv
@@ -58,7 +58,11 @@ RUN apt-get update -qq -o Acquire::Languages=none \
         sqlite3
 
 COPY --from=builder /dh-virtualenv_1.1-1_all.deb /
-RUN apt-get install -yq /dh-virtualenv_1.1-1_all.deb
+
+# install dhvirtualenv. Update the apt cache again first, in case we got a
+# cached cache from docker the first time.
+RUN apt-get update -qq -o Acquire::Languages=none \
+    && apt-get install -yq /dh-virtualenv_1.1-1_all.deb
 
 WORKDIR /synapse/source
 ENTRYPOINT ["bash","/synapse/source/docker/build_debian.sh"]