Skip to content

Commit

Permalink
[#48] moving installation of cargo component to the dockerfiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroid7 committed Dec 19, 2023
1 parent 812efd2 commit a5bb5cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ preflight_check_task:
<<: *IOX2_CONTAINER_UBUNTU_22_04_X64
set_toolchain_script: rustup default stable
fingerprint_script:
- cargo install cargo-audit
- cargo audit
# TODO iox2-#8: add more preflight-checks here
<<: *IOX2_CARGO_FMT_AND_CLIPPY
Expand Down
2 changes: 2 additions & 0 deletions internal/docker/archlinux-base-devel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN echo "#### Installing dependencies" \
rustfmt \
&& echo "#### Installing cargo-nextest" \
&& cargo install cargo-nextest --locked \
&& echo "#### Installing cargo-audit" \
&& cargo install cargo-audit --locked \
&& echo "#### Creating users and groups required for tests" \
&& useradd testuser1 \
&& useradd testuser2 \
Expand Down
2 changes: 2 additions & 0 deletions internal/docker/ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN echo "#### Installing dependencies" \
rustfmt \
&& echo "#### Installing cargo-nextest" \
&& cargo install cargo-nextest --locked \
&& echo "#### Installing cargo-audit" \
&& cargo install cargo-audit --locked \
&& echo "Installing grcov" \
&& cargo install grcov \
&& echo "#### Creating users and groups required for tests" \
Expand Down

0 comments on commit a5bb5cb

Please sign in to comment.