add catalog validation to archive

This commit is contained in:
Kjeld Schouten
2024-05-29 20:13:39 +02:00
parent 6500444f3f
commit a6f6a44477
110 changed files with 10245 additions and 0 deletions

View File

@ -0,0 +1,23 @@
FROM ghcr.io/truenas/middleware:master
RUN /usr/bin/install-dev-tools
RUN apt-get install -y \
debhelper-compat \
dh-python \
python3-dev \
python3-setuptools \
devscripts \
python3-jsonschema \
python3-semantic-version \
python3-kubernetes \
python3-yaml
ENV PYTHONUNBUFFERED 1
ENV WORK_DIR /app
RUN mkdir -p ${WORK_DIR}
WORKDIR ${WORK_DIR}
ADD . ${WORK_DIR}/
RUN pip install --break-system-packages -r requirements.txt
RUN pip install --break-system-packages -U .