chirpstack/api/Dockerfile-rust
Orne Brocaar e649e75c8d Refactor uplink / downlink GW <> NS messages.
This includes:

* Changing the modulation parameters to its own type.
* Changing the timing parameters to its own type.
* Change the gateway_id to string. As the json encoding for bytes fields
  is base64, this was confusing some users.
* Change the uplink / downlink id to uint32 from uuid. A string
  representation of the UUID field (for the same reason as the gateway
  id) would consome quite some additional bytes. An uint32 provides
  sufficient uniqueness for the purpose of uplink / downlink.
2022-04-21 11:42:28 +01:00

14 lines
289 B
Plaintext
Vendored

FROM rust:1.56
ENV PROJECT_PATH=/chirpstack/api
RUN apt-get update && \
apt-get install -y make cmake 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