Added hadolint
All checks were successful
Build Docker Image / build-and-deploy-image (push) Successful in 3m19s
All checks were successful
Build Docker Image / build-and-deploy-image (push) Successful in 3m19s
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user