Merge pull request 'chore: improve renovate dependency detection' (#5) from chore/renovate into master
Docker Build and Push / lint (push) Failing after 14m29s
Docker Build and Push / build (push) Has been skipped
Docker Build and Push / test (push) Has been skipped
Docker Build and Push / push (push) Has been skipped

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2026-06-09 08:40:37 -04:00
2 changed files with 18 additions and 2 deletions
+3 -2
View File
@@ -1,12 +1,13 @@
FROM "python:3.14-alpine" FROM python:3.14-alpine
ARG BUILD_DATE ARG BUILD_DATE
ARG VCS_REF ARG VCS_REF
ARG VERSION ARG VERSION
ARG ANSIBLE_LINT_VERSION=26.4.0
# hadolint ignore=DL3018,DL3013 # hadolint ignore=DL3018,DL3013
RUN apk --no-cache add --virtual build-dependencies \ RUN apk --no-cache add --virtual build-dependencies \
build-base libffi-dev libressl-dev && \ build-base libffi-dev libressl-dev && \
pip install --no-cache-dir ansible-lint && \ pip install --no-cache-dir ansible-lint==${ANSIBLE_LINT_VERSION} && \
apk del build-dependencies apk del build-dependencies
LABEL "maintainer"="dockerimages@cabillot.eu" \ LABEL "maintainer"="dockerimages@cabillot.eu" \
+15
View File
@@ -0,0 +1,15 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"gitlabci": {
"enabled": false
},
"regexManagers": [
{
"description": "Track ansible-lint pip version from ARG in Dockerfile",
"fileMatch": ["^Dockerfile$"],
"matchStrings": ["ARG ANSIBLE_LINT_VERSION=(?<currentValue>[\\d.]+)\\n"],
"depNameTemplate": "ansible-lint",
"datasourceTemplate": "pypi"
}
]
}