mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-27 14:29:40 -06:00
20 lines
500 B
Docker
20 lines
500 B
Docker
FROM rust:1.91-bullseye
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Install OS deps needed for building some crates
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
pkg-config \
|
|
libssl-dev \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install cargo tools (compiled into the image so subsequent runs are fast)
|
|
RUN /usr/local/cargo/bin/cargo install cargo-audit cargo-deny
|
|
|
|
WORKDIR /workspace
|
|
|
|
CMD ["bash"]
|