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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,3 @@
|
|||||||
.venv/
|
.venv/
|
||||||
.idea/
|
.idea/
|
||||||
.python-version
|
.python-version
|
||||||
|
|||||||
@@ -15,6 +15,11 @@ repos:
|
|||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- 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
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.6.9
|
rev: v0.6.9
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
|||||||
FROM python:3.12-slim
|
FROM python:3.12-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# hadolint ignore=DL3008
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends locales tini && \
|
apt-get install -y --no-install-recommends locales tini && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
|
|||||||
Reference in New Issue
Block a user