mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Do not explicitly pass --target to rustup (#184)
* Do not explicitly pass --target to rustup It doesn't seem to be necessary to install Rust. Passing `--target` prevents the Dockerfile from being built on different architectures. Not passing it makes it auto-detect what to install. Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1505 * Add changelog entry
This commit is contained in:
parent
b07aaedd04
commit
818bb03364
@ -7,7 +7,7 @@ COPY . /src
|
||||
WORKDIR /src
|
||||
|
||||
# We need rustup so we have a sensible rust version, the version packed with bullsye is too old
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --target x86_64-unknown-linux-gnu
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
# Workaround: Need to install esbuild manually https://github.com/evanw/esbuild/issues/462#issuecomment-771328459
|
||||
|
1
changelog.d/184.misc
Normal file
1
changelog.d/184.misc
Normal file
@ -0,0 +1 @@
|
||||
Do not hardcode `--target x86_64-unknown-linux-gnu` when installing Rust (rely on platform auto-detection instead)
|
Loading…
x
Reference in New Issue
Block a user