Skip to content

Commit e14acf9

Browse files
committed
ci(docker): fix build setup for i686-unknown-linux-gnu
1 parent 75b40b9 commit e14acf9

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

ci/docker/i686-unknown-linux-gnu/Dockerfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
FROM rust-i686-unknown-linux-gnu
22

3-
# Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`.
4-
# See: https://aws.github.io/aws-lc-rs/requirements/linux
5-
RUN apt-get update && apt-get install -qy gcc-multilib libclang-dev \
6-
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \
3+
RUN yum upgrade -y \
4+
# Building `aws-lc-rs` for Linux depends on `gcc-multilib`, `libclang` and `bindgen`.
5+
# See: https://aws.github.io/aws-lc-rs/requirements/linux
6+
&& yum install -y glibc-devel.i686 clang-libs \
7+
# Install `perl-IPC-Cmd` to make OpenSSL v3 happy.
8+
# See: <https://github.com/sfackler/rust-openssl/issues/1550>
9+
perl-IPC-Cmd \
10+
# We have to use manual installation here, otherwise the installation script will fail with
11+
# 'System glibc version (`2.17') is too old; checking alternatives'.
12+
&& cargo install --force --locked bindgen-cli \
713
&& mv $HOME/.cargo/bin/bindgen /usr/bin
8-
9-
# Install `perl-IPC-Cmd` to make OpenSSL v3 happy.
10-
# See: <https://github.com/sfackler/rust-openssl/issues/1550>
11-
RUN yum upgrade -y && \
12-
yum install -y perl-IPC-Cmd

0 commit comments

Comments
 (0)