Added hadolint
All checks were successful
Build Docker Image / build-and-deploy-image (push) Successful in 3m19s

This commit is contained in:
2024-10-12 22:13:30 +03:00
parent d021c11f57
commit 043894a1d5
3 changed files with 7 additions and 1 deletions

View File

@@ -15,6 +15,11 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
hooks:

View File

@@ -13,6 +13,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
FROM python:3.12-slim
WORKDIR /app
# hadolint ignore=DL3008
RUN apt-get update && \
apt-get install -y --no-install-recommends locales tini && \
apt-get clean && \