chirpstack/api/Dockerfile-rust

14 lines
307 B
Plaintext
Raw Normal View History

FROM rust:1.73
2022-04-06 20:18:32 +00:00
ENV PROJECT_PATH=/chirpstack/api
RUN apt-get update && \
apt-get install -y make cmake git bash protobuf-compiler && \
2022-04-06 20:18:32 +00:00
apt-get clean
RUN git clone https://github.com/googleapis/googleapis.git /googleapis
RUN rustup component add rustfmt
RUN mkdir -p $PROJECT_PATH
WORKDIR $PROJECT_PATH