FROM rust:1-buster as builder RUN apt-get update && \ apt-get install clang -y && \ git clone https://github.com/oxigraph/oxigraph --depth 1 && \ cd oxigraph && \ cargo build --release FROM debian:buster-slim COPY --from=builder /oxigraph/target/release/oxigraph_wikibase /usr/local/bin/oxigraph_wikibase ENTRYPOINT [ "/usr/local/bin/oxigraph_wikibase" ]