diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-02-14 17:29:40 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-02-14 17:29:40 +0000 |
commit | 649fe1c2be69676ffd73c9ad1807ea0bc747b003 (patch) | |
tree | 108ba79eacd1658c5abe4b62f07671032cf1bb7a | |
parent | 0.99.1.1 (diff) | |
download | synapse-github/release-v0.99.1.tar.xz |
Fix debian build dockerfile github/release-v0.99.1 release-v0.99.1
Make sure it refreshes the apt cache before trying to install stuff
-rw-r--r-- | docker/Dockerfile-dhvirtualenv | 6 |
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"] |