and change builder image to rust:1-buster as recommended in https://github.com/oxigraph/oxigraph/pull/41#discussion_r456384441pull/41/head
parent
cccae695a4
commit
94f2bc4929
@ -1,4 +1,4 @@ |
|||||||
FROM rust:1.44 as builder |
FROM rust:1-buster as builder |
||||||
|
|
||||||
RUN apt-get update && \ |
RUN apt-get update && \ |
||||||
apt-get install clang -y && \ |
apt-get install clang -y && \ |
@ -0,0 +1,13 @@ |
|||||||
|
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" ] |
Loading…
Reference in new issue