scale-catalog/catalog_validation/ix-source/Dockerfile

24 lines
524 B
Docker
Raw Normal View History

2024-05-29 18:13:39 +00:00
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 .