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

Dropping support of pre-built docker images for linux/arm/v7 #388

Merged
merged 3 commits into from
Jan 19, 2022

Conversation

obilodeau
Copy link
Member

Cryptography requires rustc and cargo in order to build since the beginning of last year. We carried a workaround when we implemented ARM builds for docker in 724bd5e.

When I pushed the dependency updates, our ARMv7 (aka armhf) docker builds stopped working: https://github.com/GoSecure/pyrdp/runs/4861875591?check_suite_focus=true.

After investigation, the cryptography project seemed to have stepped up and is providing prebuilt cryptography packages for a lot of platforms but not linux/arm/v7 and they have no intention of doing so: pyca/cryptography#6286.

I spent one hour trying to build the package inside the compile container with rust and cargo installed but it would fail for various reasons including obscure linux or QEMU ones. Thinking about how many linux/arm/v7 users we might have out there I don't think it's worth the effort.

If someone reads this, know that you can always install pyrdp from source and it should work since the issues were around cargo having problems with the docker+QEMU emulation.

We still build docker images for ARM64 (aka aarch64).

@obilodeau obilodeau merged commit efff064 into master Jan 19, 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.

1 participant