added CI/CD files
Some checks failed
Rust/max116xx-10bit/pipeline/head There was a failure building this commit
Some checks failed
Rust/max116xx-10bit/pipeline/head There was a failure building this commit
This commit is contained in:
11
automation/Dockerfile
Normal file
11
automation/Dockerfile
Normal 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 thumbv6m-none-eabi armv7-unknown-linux-gnueabihf && \
|
||||
rustup component add rustfmt clippy
|
Reference in New Issue
Block a user