nextcloud-cooking-schedule/Dockerfile

23 lines
563 B
Docker

# SPDX-FileCopyrightText: 2021 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
# SPDX-License-Identifier: CC0-1.0
FROM docker.io/rust:latest@sha256:490d4448c29f5407ee6eaf62f081a82b2741b4416c8e20aef7c01b68776802c2
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && \
apt install -y \
libssl-dev \
pkg-config \
&& \
rm -rf /var/lib/apt/lists/*
RUN cargo install -f -- \
cargo-tarpaulin \
cargo2junit \
&& \
rm -rf "${HOME}/.cargo/registry" "${HOME}/.cargo/git"
ENTRYPOINT []
CMD ["/bin/bash"]