Skip to content

Commit

Permalink
ci: install cargo using rustup
Browse files Browse the repository at this point in the history
package from ubuntu was too old for some dependencies.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif committed Sep 13, 2023
1 parent 4f31bf9 commit 9b35bf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ RUN apt-get -y update && \
bison \
build-essential \
ca-certificates \
cargo \
ccache \
chrpath \
cmake \
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 9b35bf2

Please sign in to comment.