diff --git a/Dockerfile b/Dockerfile index 32b533f..6e3f10d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,10 @@ -FROM httpd:2.4.57-alpine +FROM httpd:2.4.58-alpine -RUN apk add --no-cache curl wget +# renovate: datasource=repology depName=alpine_3_19/curl versioning=loose +ENV CURL_VERSION="8.0.0-r0" +# renovate: datasource=repology depName=alpine_3_19/wget versioning=loose +ENV WGET_VERSION="1.21.4-r0" + +RUN apk add --no-cache \ + curl="${CURL_VERSION}" \ + wget="${WGET_VERSION}" diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..7349323 --- /dev/null +++ b/renovate.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + ":dependencyDashboard", + ":semanticPrefixFixDepsChoreOthers", + ":ignoreModulesAndTests", + "group:monorepos", + "group:recommended", + "replacements:all", + "workarounds:all" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "#\\s*renovate:\\s*datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\sENV .*?_VERSION=\"(?.*)\"\\s" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] +}