# ci-quality — image for lint, type-checking, badge generation.
#
# Used by: quality (lint-all + pytest-cov + checks), badges (generate_badges
#          runs ruff/pyright/bandit to produce quality badge)
#
# Layers on top of ci-base: adds lint tools + actionlint + checkmake.

FROM git.oblachno.oblachno.fyi/oblachno-oss/runner-images:ci-base-latest

# Install devx[lint] from local source (adds ruff, pyright, bandit, etc.)
COPY . /tmp/devx
RUN pip install --no-cache-dir /tmp/devx[lint] \
    && rm -rf /tmp/devx

# Install CI/CD binary tools
RUN python3 -m devx.tools.install_tools --tool actionlint \
    && python3 -m devx.tools.install_checkmake
