malcontent-dns-parental-con.../Dockerfile

30 lines
705 B
Docker
Raw Normal View History

2022-09-05 23:18:21 +02:00
# SPDX-FileCopyrightText: 2022 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
# SPDX-License-Identifier: GPL-3.0-or-later
FROM docker.io/rust:latest@sha256:df962ca4f985f8f6b81b7c02f66348d294974d8cafc2d0f15104c472623d433e
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && \
apt install -y \
2022-09-05 23:31:34 +02:00
libclang-dev \
2022-09-05 23:18:21 +02:00
libssl-dev \
pkg-config \
python3-pip \
&& \
rm -rf /var/lib/apt/lists/*
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"
ENTRYPOINT []
CMD ["/bin/bash"]