-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (25 loc) · 1.2 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM docker.io/rust:bookworm
ARG NIGHTLY_VERSION_DATE
ENV NIGHTLY_VERSION=nightly-$NIGHTLY_VERSION_DATE
RUN apt update -yqq \
&& apt install -yqq --no-install-recommends \
build-essential cmake libssl-dev pkg-config git musl-tools jq xmlstarlet lcov protobuf-compiler libprotobuf-dev libprotoc-dev \
&& rustup toolchain add $NIGHTLY_VERSION --component rustfmt --component clippy --component llvm-tools-preview \
&& rustup toolchain add beta --component rustfmt --component clippy --component llvm-tools-preview \
&& rustup toolchain add stable --component rustfmt --component clippy --component llvm-tools-preview \
&& rustup default stable \
&& cargo install grcov \
&& cargo install cargo-cache \
&& cargo install cargo-llvm-cov \
&& cargo install cargo-deny \
&& cargo install sqlx-cli \
&& cargo install typos-cli \
&& cargo install conventional_commits_linter \
&& cargo install cargo-udeps --locked \
&& cargo install cargo-nextest \
&& cargo install cargo-readme \
&& cargo install cargo-audit \
&& cargo install cargo-auditable \
&& cargo install cargo-license \
&& cargo cache -a
COPY cobertura_transform.xslt /opt/