forked from MIrrors/bin
Upated dockerfile to install libclang-dev
Build of `onig_sys` fails with missing dependency on clang.
This commit is contained in:
committed by
Jordan Doyle
parent
9c53294b88
commit
377d4a129d
@@ -1,6 +1,8 @@
|
|||||||
FROM rust:1.34.2-slim-stretch AS builder
|
FROM rust:1.34.2-slim-stretch AS builder
|
||||||
RUN rustup install nightly-x86_64-unknown-linux-gnu
|
RUN rustup install nightly-x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
|
RUN apt update && apt install -y libclang-dev
|
||||||
|
|
||||||
COPY . /sources
|
COPY . /sources
|
||||||
WORKDIR /sources
|
WORKDIR /sources
|
||||||
RUN cargo +nightly build --release
|
RUN cargo +nightly build --release
|
||||||
|
|||||||
Reference in New Issue
Block a user