18 lines
494 B
Docker
18 lines
494 B
Docker
FROM alpine:latest
|
|
|
|
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
|
|
|
|
# Install rustup and other base packages we need to build stuff.
|
|
# Installing rustup with rustup-init also brings in fmt and clippy.
|
|
RUN apk add --no-cache rustup build-base pkgconfig openssl-dev \
|
|
&& rustup-init -y
|
|
|
|
ENV PATH=/root/.cargo/bin:$PATH
|
|
|
|
# Install cargo llvm-cov and llvm-tools
|
|
RUN rustup component add llvm-tools \
|
|
&& cargo install cargo-llvm-cov
|
|
|
|
# Install cargo-audit
|
|
RUN cargo install cargo-audit
|