diff --git a/docker/Dockerfile b/docker/Dockerfile index 8618f6fd..147f6213 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,14 +5,21 @@ ENV DEBIAN_FRONTEND noninteractive RUN --mount=type=cache,target=/var/cache/apt --mount=type=tmpfs,target=/var/lib/apt/lists \ apt-get update && apt-get install -y --no-install-recommends \ python3.11=3.11.2-6ubuntu0.1 \ + # renovate: srcname=python3.11 libpython3.11=3.11.2-6ubuntu0.1 \ + # renovate: srcname=python3.11 python3.11-venv=3.11.2-6ubuntu0.1 \ + # renovate: srcname=python-pip python3-pip=23.0.1+dfsg-1 \ + # renovate: srcname=postgresql-15 libpq5=15.3-0ubuntu0.23.04.1 \ + # renovate: srcname=postgresql-15 postgresql-client-15=15.3-0ubuntu0.23.04.1 \ curl=7.88.1-8ubuntu2 \ libpcre3=2:8.39-15 \ + # renovate: srcname=librsvg librsvg2-2=2.54.5+dfsg-1ubuntu2 \ + # renovate: srcname=librsvg gir1.2-rsvg-2.0=2.54.5+dfsg-1ubuntu2 \ libgirepository-1.0-1=1.76.1-1 \ tzdata=2023c-2exp1ubuntu1.1 \ @@ -24,8 +31,10 @@ FROM base as builder RUN --mount=type=cache,target=/var/cache/apt --mount=type=tmpfs,target=/var/lib/apt/lists \ apt-get update && apt-get install -y --no-install-recommends \ build-essential=12.9ubuntu3 \ + # renovate: srcname=python3.11 python3.11-dev=3.11.2-6ubuntu0.1 \ libpcre3-dev=2:8.39-15 \ + # renovate: srcname=postgresql-15 libpq-dev=15.3-0ubuntu0.23.04.1 \ libgirepository1.0-dev=1.76.1-1 diff --git a/docker/tileserver.dockerfile b/docker/tileserver.dockerfile index ff9823fb..504ddd13 100644 --- a/docker/tileserver.dockerfile +++ b/docker/tileserver.dockerfile @@ -5,8 +5,11 @@ ENV DEBIAN_FRONTEND noninteractive RUN --mount=type=cache,target=/var/cache/apt --mount=type=tmpfs,target=/var/lib/apt/lists \ apt-get update && apt-get install -y --no-install-recommends \ python3.11=3.11.2-6ubuntu0.1 \ + # renovate: srcname=python3.11 libpython3.11=3.11.2-6ubuntu0.1 \ + # renovate: srcname=python3.11 python3.11-venv=3.11.2-6ubuntu0.1 \ + # renovate: srcname=python-pip python3-pip=23.0.1+dfsg-1 \ curl=7.88.1-8ubuntu2 \ libpcre3=2:8.39-15 \ @@ -18,6 +21,7 @@ FROM base as builder RUN --mount=type=cache,target=/var/cache/apt --mount=type=tmpfs,target=/var/lib/apt/lists \ apt-get update && apt-get install -y --no-install-recommends \ build-essential=12.9ubuntu3 \ + # renovate: srcname=python3.11 python3.11-dev=3.11.2-6ubuntu0.1 \ libpcre3-dev=2:8.39-15 diff --git a/renovate.json b/renovate.json index 6cc6a313..eff557ee 100644 --- a/renovate.json +++ b/renovate.json @@ -29,7 +29,7 @@ }, "regexManagers": [ { - "fileMatch": ["(^|/)[\\w-]*[Dd]ockerfile$"], + "fileMatch": ["(^|/)[\\w-.]*[Dd]ockerfile$"], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+" @@ -37,17 +37,22 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["(^|/)[\\w-]*[Dd]ockerfile$"], + "fileMatch": ["(^|/)[\\w-.]*[Dd]ockerfile$"], "matchStringsStrategy": "any", "matchStrings": [ - "\\s+(?[a-z0-9][a-z0-9-]+)=(?[a-z0-9-:_+~.]+)\\s+" + "(#\\s*renovate:\\s*srcname=(?.*?)( datasource=(?.*?))?( versioning=(?.*?))?)?\\s+(?[a-z0-9][a-z0-9-.]+)=(?[a-z0-9-:_+~.]+)\\s+" ], - "versioningTemplate": "deb", "datasourceTemplate": "repology", - "depNameTemplate": "ubuntu_23_04/{{{package}}}" + "depNameTemplate": "{{#if datasource}}{{{datasource}}}{{else}}ubuntu_23_04{{/if}}/{{#if srcname}}{{{srcname}}}{{else}}{{{package}}}{{/if}}", + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}deb{{/if}}" } ], "packageRules": [ + { + "matchPackagePatterns": ["ubuntu_\\d\\d_\\d\\d/build-essential"], + "matchManagers": ["regex"], + "enabled": false + }, { "groupName": "docker core image", "matchPaths": [