Add cargo audit
to rust
This commit is contained in:
parent
b3804b481d
commit
50c5706f1a
|
@ -11,6 +11,10 @@ regular docker images and can be used anywhere.
|
|||
|
||||
Gives you access to `rsync`, `ssh`, and `scp` commands.
|
||||
|
||||
### rust
|
||||
|
||||
Rust stable toolchain, with `rustup`, `fmt`, `clippy`, `llvm-tools`, and `audit`.
|
||||
|
||||
---
|
||||
|
||||
## Adding a new container
|
||||
|
|
|
@ -2,9 +2,11 @@ FROM alpine:latest
|
|||
|
||||
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
|
||||
|
||||
RUN apk add --no-cache rustup \
|
||||
RUN apk add --no-cache rustup build-base pkgconfig openssl-dev \
|
||||
&& rustup-init -y
|
||||
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
|
||||
RUN rustup component add llvm-tools-preview
|
||||
|
||||
RUN cargo install cargo-audit
|
||||
|
|
Loading…
Reference in a new issue