Adds C# builds and namespaces (#100)

Co-authored-by: Max Reble <max.reble@aco.com>
This commit is contained in:
Max Reble
2023-01-31 19:29:21 +01:00
committed by GitHub
parent 81ce56a9a0
commit 837e13a586
20 changed files with 86 additions and 1 deletions

11
api/Dockerfile-csharp vendored Normal file
View File

@ -0,0 +1,11 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
ENV PROJECT_PATH=/chirpstack/api
RUN apt update && apt install -y make git
RUN git clone --depth=1 --branch=master https://github.com/googleapis/googleapis.git /googleapis
RUN mkdir -p /googleproto/google/api/
RUN mv /googleapis/google/api/http.proto /googleproto/google/api/ && mv /googleapis/google/api/annotations.proto /googleproto/google/api/
RUN rm -rf /googleapis
WORKDIR $PROJECT_PATH