FEATURE: Add early support for aarch64 in dev env
authorLoïc Guitaut <loic@discourse.org>
Thu, 11 Jan 2024 17:00:45 +0000 (18:00 +0100)
committerLoïc Guitaut <flink@belfalas.eu>
Tue, 30 Jan 2024 09:23:57 +0000 (10:23 +0100)
commit1964d1737a36b4f46ed3c0bc8b25db24e1a9a0c2
treeaefc8cf346ef625966b3b192b64d13c1ace2e175
parentfcce1376043adeb09e21ec1ec079a41e4d29fe6e
FEATURE: Add early support for aarch64 in dev env

This patch adds some new steps to support the aarch64 architecture
on Linux.

An updated version of Rust is needed to compile the `selenium-manager`
binary as it’s not shipped with the `selenium-webdriver` gem yet.
In the same vein, Google doesn’t ship an aarch64 version of Chrome yet,
so it doesn’t make sense to install even Chromium in the image. We have
to rely on Firefox to run the system specs.
image/auto_build.rb
image/base/install-rust
image/discourse_dev/Dockerfile
image/discourse_dev/install-selenium [new file with mode: 0755]