File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
ci/docker/i686-unknown-linux-gnu Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
FROM rust-i686-unknown-linux-gnu
2
2
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 \
7
13
&& 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
You can’t perform that action at this time.
0 commit comments