2021-12-06 13:01:50 +01:00
|
|
|
# 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
|
|
|
|
|
2023-01-11 00:39:12 +01:00
|
|
|
RUN rustup install nightly && \
|
|
|
|
rustup target add thumbv6m-none-eabi && \
|
2023-01-11 23:15:48 +01:00
|
|
|
rustup +nightly target add thumbv6m-none-eabi && \
|
2021-12-06 13:01:50 +01:00
|
|
|
rustup component add rustfmt clippy
|