Upated dockerfile to install libclang-dev

Build of `onig_sys` fails with missing dependency on clang.
This commit is contained in:
Shaarad Dalvi 2020-05-14 02:16:23 +05:30 committed by Jordan Doyle
parent 9c53294b88
commit 377d4a129d
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
FROM rust:1.34.2-slim-stretch AS builder
RUN rustup install nightly-x86_64-unknown-linux-gnu
RUN apt update && apt install -y libclang-dev
COPY . /sources
WORKDIR /sources
RUN cargo +nightly build --release