🏡 index : ~doyle/bin.git

author jordan@doyle.la <jordan@doyle.la> 2020-07-28 0:01:36.0 +00:00:00
committer jordan@doyle.la <jordan@doyle.la> 2020-07-28 0:01:36.0 +00:00:00
commit
009dea438f60c6bae94c88abbf5a3ed03d17c428 [patch]
tree
9a92dc43935918a6fd23cf572ca5dce46eb8da0b
parent
ccef0d93700d3efa7533b4459c012f4879c10d8a
download
009dea438f60c6bae94c88abbf5a3ed03d17c428.tar.gz

Fix docker build for actix



Diff

 Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 16f6bd0..7c62d96 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,8 @@
FROM rust:1.34.2-slim-stretch AS builder
FROM rust:1.45-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