chirpstack/api/Dockerfile-rust

14 lines
283 B
Plaintext
Raw Normal View History

2022-04-06 20:18:32 +00:00
FROM rust:1.56
ENV PROJECT_PATH=/chirpstack/api
RUN apt-get update && \
apt-get install -y make git bash && \
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