Add deny checks
This commit is contained in:
parent
e1b6017f06
commit
7f48c6cfa4
6 changed files with 310 additions and 77 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,7 +1,7 @@
|
|||
# SPDX-FileCopyrightText: 2021 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
FROM docker.io/rust:latest@sha256:490d4448c29f5407ee6eaf62f081a82b2741b4416c8e20aef7c01b68776802c2
|
||||
FROM docker.io/rust:latest@sha256:4f1d43c216d995c2f734d7c682bc3e2abe3e110961cda4ae0743ce3944e673a2
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
@ -9,11 +9,17 @@ RUN apt update && \
|
|||
apt install -y \
|
||||
libssl-dev \
|
||||
pkg-config \
|
||||
python3-pip \
|
||||
&& \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN cargo install -f -- \
|
||||
RUN pip3 install reuse
|
||||
|
||||
RUN rustup component add rustfmt
|
||||
|
||||
RUN cargo install --locked -f -- \
|
||||
cargo-tarpaulin \
|
||||
cargo-deny \
|
||||
cargo2junit \
|
||||
&& \
|
||||
rm -rf "${HOME}/.cargo/registry" "${HOME}/.cargo/git"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue