Skip to content

Commit 063a1bd

Browse files
committed
ci(linux): install bindgen for aws-lc
1 parent 3ef9292 commit 063a1bd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
FROM rust-armv7-unknown-linux-gnueabihf
22

3+
RUN apt-get update && \
4+
apt-get install -qy build-essential libclang1 && \
5+
curl --proto '=https' --tlsv1.2 -LsSf \
6+
https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh && \
7+
mv /root/.cargo/bin/bindgen /usr/local/bin/
8+
39
ENV CC_armv7_unknown_linux_gnueabihf=armv7-unknown-linux-gnueabihf-gcc \
4-
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=armv7-unknown-linux-gnueabihf-gcc
10+
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=armv7-unknown-linux-gnueabihf-gcc

0 commit comments

Comments
 (0)