🏡 index : ~doyle/bin.git

author Shaarad Dalvi <60266155+shaaraddalvi@users.noreply.github.com> 2020-05-14 2:16:23.0 +05:30:00
committer Jordan Doyle <jordan@doyle.la> 2020-05-15 3:08:14.0 +01:00:00
commit
377d4a129d7d5b054eff23f0eee6c30291223d3c [patch]
tree
ae88b45662101cb69dc6ddf24eda4018651fb658
parent
9c53294b88d970d0438e8772eb2c0865d04fe756
download
377d4a129d7d5b054eff23f0eee6c30291223d3c.tar.gz

Upated dockerfile to install libclang-dev

Build of `onig_sys` fails with missing dependency on clang.

Diff

 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 16f6bd0..6055d4d 100644
--- a/Dockerfile
+++ a/Dockerfile
@@ -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