2021-03-08 00:25:14 +01:00
|
|
|
FROM rust:1.50-slim
|
|
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
|
RUN apt-get -y upgrade
|
|
|
|
|
RUN apt-get -y install binutils-arm-linux-gnueabihf musl-dev
|
|
|
|
|
RUN apt-get clean
|
|
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
|
RUN rustup target add armv7-unknown-linux-musleabihf
|
|
|
|
|
|
2021-03-13 22:16:26 +01:00
|
|
|
#WORKDIR /usr/src/s0-meter
|
2021-03-08 00:25:14 +01:00
|
|
|
#COPY . .
|
|
|
|
|
|
|
|
|
|
#RUN cargo test
|