FROM python:3.11.0

ENV PROJECT_PATH=/chirpstack/api

RUN git clone https://github.com/protocolbuffers/protobuf.git /protobuf
RUN git clone https://github.com/googleapis/googleapis.git /googleapis

RUN mkdir -p PROJECT_PATH
WORKDIR $PROJECT_PATH