From 7cf2bbe986e98ee54a7391a3384a18de1ea33a63 Mon Sep 17 00:00:00 2001 From: rami3l Date: Wed, 4 Dec 2024 13:58:35 +0800 Subject: [PATCH] ci(docker): fix build setup for `i686-unknown-linux-gnu` --- ci/docker/i686-unknown-linux-gnu/Dockerfile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ci/docker/i686-unknown-linux-gnu/Dockerfile b/ci/docker/i686-unknown-linux-gnu/Dockerfile index a634c8439d..e54f11e9ce 100644 --- a/ci/docker/i686-unknown-linux-gnu/Dockerfile +++ b/ci/docker/i686-unknown-linux-gnu/Dockerfile @@ -1,12 +1,11 @@ FROM rust-i686-unknown-linux-gnu -# Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`. -# See: https://aws.github.io/aws-lc-rs/requirements/linux -RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \ +RUN yum upgrade -y \ + # Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`. + # See: https://aws.github.io/aws-lc-rs/requirements/linux + && yum install -y glibc-devel.i686 clang-libs \ + # Install `perl-IPC-Cmd` to make OpenSSL v3 happy. + # See: + perl-IPC-Cmd \ && curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ && mv $HOME/.cargo/bin/bindgen /usr/bin - - # Install `perl-IPC-Cmd` to make OpenSSL v3 happy. - # See: - RUN yum upgrade -y && \ - yum install -y perl-IPC-Cmd