mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-22 22:42:27 +00:00
12 lines
443 B
Plaintext
12 lines
443 B
Plaintext
|
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
|