Fix docker build for actix

This commit is contained in:
jordan@doyle.la 2020-07-28 01:01:36 +01:00
parent ccef0d9370
commit 009dea438f
No known key found for this signature in database
GPG Key ID: 1EA6BAE6F66DC49A
1 changed files with 3 additions and 1 deletions

View File

@ -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