This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-3
lines changed
Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ Use the `minimal` Rust profile when building Synapse.
Original file line number Diff line number Diff line change 1+ Use the `minimal` Rust profile when building Synapse.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ ENV CARGO_HOME=/cargo
106106ENV PATH=/cargo/bin:/rust/bin:$PATH
107107RUN mkdir /rust /cargo
108108
109- RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable
109+ RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable --profile minimal
110110
111111# To speed up rebuilds, install all of the dependencies before we copy over
112112# the whole synapse project, so that this layer in the Docker cache can be
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ ENV CARGO_HOME=/cargo
9292ENV PATH=/cargo/bin:/rust/bin:$PATH
9393RUN mkdir /rust /cargo
9494
95- RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable
95+ RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable --profile minimal
9696
9797
9898COPY --from=builder /dh-virtualenv_1.2.2-1_all.deb /
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ build-backend = "poetry.core.masonry.api"
316316skip = " cp36* *-musllinux_i686"
317317
318318# We need a rust compiler
319- before-all = " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y"
319+ before-all = " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y --profile minimal "
320320environment = { PATH = " $PATH:$HOME/.cargo/bin" }
321321
322322# For some reason if we don't manually clean the build directory we
You can’t perform that action at this time.
0 commit comments