Merge pull request 'chore: improve renovate dependency detection' (#5) from chore/renovate into master
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
+3
-2
@@ -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" \
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user