valar-ypir 0.2.0

Fork of YPIR: High-Throughput Single-Server PIR with Silent Preprocessing
Documentation
1
2
3
4
5
6
7
8
9
10
11
FROM rust:1-bookworm as builder
RUN apt-get update && apt-get install -y clang-14 clang++-14
WORKDIR /usr/src/ypir
COPY . .
RUN CC=clang-14 CXX=clang++-14 cargo install --features explicit_avx512 --bin run --path .

FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y clang-14 clang++-14 libssl-dev pkg-config && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/run /usr/local/bin/run
ENV RUST_LOG=debug
ENTRYPOINT ["run"]