Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not explicitly pass --target to rustup #184

Merged
merged 2 commits into from Jan 31, 2022

Conversation

spantaleev
Copy link
Contributor

@spantaleev spantaleev commented Jan 31, 2022

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.

Actually, I've managed to build this Dockerfile on ARM64 even with the hardcoded --target. It's misleading though, so removing it is better.

Discussed here: spantaleev/matrix-docker-ansible-deploy#1505

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: spantaleev/matrix-docker-ansible-deploy#1505
@Half-Shot
Copy link
Contributor

I can't remember why we did this initially, it might well have been my fruitless efforts to use Rust with alpine.

@Half-Shot
Copy link
Contributor

@spantaleev Can I have a synapse-style changelog entry just describing what this does?

@spantaleev
Copy link
Contributor Author

I've added a changelog entry. I hope it's all good now!

@Half-Shot Half-Shot merged commit 818bb03 into matrix-org:main Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants