FROM rust:latest RUN rustup component add clippy rustfmt WORKDIR /usr/src/makers COPY Cargo.* . RUN mkdir src RUN echo "fn main() {}" > src/main.rs RUN cargo check RUN cargo test RUN cargo build RUN rm src/main.rs COPY . . RUN touch src/main.rs RUN chmod +x .milli-ci/test.sh CMD [".milli-ci/test.sh"]