diff options
author | Eric Eastwood <erice@element.io> | 2022-09-14 18:14:17 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-09-14 18:14:17 -0500 |
commit | dab846568de09742c038a9a5a5ed00539ff5aa38 (patch) | |
tree | ef4220faa96569d1d8d5f386c92bb4df2655eeed /docker/Dockerfile-dhvirtualenv | |
parent | Add changelog (diff) | |
parent | Keep track when we try and fail to process a pulled event (#13589) (diff) | |
download | synapse-madlittlemods/event_id_always_failed_to_fetch.tar.xz |
Merge branch 'develop' into madlittlemods/event_id_always_failed_to_fetch github/madlittlemods/event_id_always_failed_to_fetch madlittlemods/event_id_always_failed_to_fetch
Conflicts: synapse/handlers/federation_event.py
Diffstat (limited to 'docker/Dockerfile-dhvirtualenv')
-rw-r--r-- | docker/Dockerfile-dhvirtualenv | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/Dockerfile-dhvirtualenv b/docker/Dockerfile-dhvirtualenv index fbc1d2346f..ca3a259081 100644 --- a/docker/Dockerfile-dhvirtualenv +++ b/docker/Dockerfile-dhvirtualenv @@ -72,6 +72,7 @@ RUN apt-get update -qq -o Acquire::Languages=none \ && env DEBIAN_FRONTEND=noninteractive apt-get install \ -yqq --no-install-recommends -o Dpkg::Options::=--force-unsafe-io \ build-essential \ + curl \ debhelper \ devscripts \ libsystemd-dev \ @@ -85,6 +86,15 @@ RUN apt-get update -qq -o Acquire::Languages=none \ libpq-dev \ xmlsec1 +# Install rust and ensure it's in the PATH +ENV RUSTUP_HOME=/rust +ENV CARGO_HOME=/cargo +ENV PATH=/cargo/bin:/rust/bin:$PATH +RUN mkdir /rust /cargo + +RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable + + COPY --from=builder /dh-virtualenv_1.2.2-1_all.deb / # install dhvirtualenv. Update the apt cache again first, in case we got a |