thesnowmancometh
10/29/2018 - 2:37 AM

Rustlang Dockerfile

This Dockerfile will build and test the Rust app.

FROM rust:1.30.0
ADD . "/usr/src/wintermute"
WORKDIR "/usr/src/wintermute"
RUN ["rustup", "default", "nightly"]
RUN ["cargo", "install", "--force", "cargo-make"]
RUN ["rustup", "component", "add", "rustfmt-preview"]
RUN ["rustup", "component", "add", "clippy-preview"]
RUN ["cargo", "make"]