add automation files
Some checks failed
Rust/va416xx/pipeline/head There was a failure building this commit

This commit is contained in:
2021-12-10 10:23:16 +01:00
parent cfde64ef8d
commit b9acaff6c2
5 changed files with 136 additions and 0 deletions

11
automation/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# Run the following commands from root directory to build and run locally
# docker build -f automation/Dockerfile -t <NAME> .
# docker run -it <NAME>
FROM rust:latest
RUN apt-get update
RUN apt-get --yes upgrade
# tzdata is a dependency, won't install otherwise
ARG DEBIAN_FRONTEND=noninteractive
RUN rustup target add thumbv7em-none-eabihf && \
rustup component add rustfmt clippy