From 9b35bf2bb431d711cda237a628e0411f78d291ca Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 12 Sep 2023 06:40:11 -0400 Subject: [PATCH] ci: install cargo using rustup package from ubuntu was too old for some dependencies. Signed-off-by: Anas Nashif --- Dockerfile.base | 1 - Dockerfile.ci | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile.base b/Dockerfile.base index 9b28b6b..97b95bf 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -22,7 +22,6 @@ RUN apt-get -y update && \ bison \ build-essential \ ca-certificates \ - cargo \ ccache \ chrpath \ cmake \ diff --git a/Dockerfile.ci b/Dockerfile.ci index 0cc9e2a..9670653 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -47,8 +47,11 @@ RUN mkdir -p /opt/bsim_west && \ chmod ag+w . -R && \ ln -s /opt/bsim_west/bsim /opt/bsim +# Install cargo environment +RUN wget -q -O- "https://sh.rustup.rs" | sh -s -- -y + # Install uefi-run utility -RUN cargo install uefi-run --root /usr +RUN ~/.cargo/bin/cargo install uefi-run --root /usr # Install LLVM and Clang RUN wget ${WGET_ARGS} https://apt.llvm.org/llvm.sh && \