ovh-dane-companion/Dockerfile
Louis Vallat 81e86e671c
WIP, doesn't totally work
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2022-02-13 19:38:45 +01:00

16 lines
272 B
Docker

FROM rust:latest AS builder
WORKDIR /root
COPY . .
RUN cargo build --release
FROM debian:stable-slim
RUN apt update && apt install -y ca-certificates openssl && rm -rf /var/lib/apt/lists/*
COPY --from=builder /root/target/release/tlsa /root/tlsa
CMD ["/root/tlsa"]