s0-meter/Dockerfile

13 lines
282 B
Docker

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
#WORKDIR /usr/src/s0-meter
#COPY . .
#RUN cargo test