File tree 2 files changed +19
-9
lines changed
2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1
- FROM renovate/renovate:35.0.0-slim@sha256:4ff005a44c23692160989829a092bdc2fdc7283349017cebd3e4d4132ae435c6
1
+ # renovate: datasource=npm depName=renovate versioning=npm
2
+ ARG RENOVATE_VERSION=35.0.0
2
3
3
- LABEL maintainer=
"Michael Kriese <[email protected] >"
4
+ # Base image
5
+ # ============
6
+ FROM ghcr.io/containerbase/buildpack:6.4.0@sha256:2d3a47f481b3ee882519506e580483410c5e18f5c68d16081f86c7b65f47a0a9 AS base
4
7
5
- USER root
8
+ LABEL maintainer=
"Michael Kriese <[email protected] >"
9
+ LABEL name="renovate"
10
+ # get changelog from renovate
11
+ LABEL org.opencontainers.image.source="https://github.com/renovatebot/renovate" \
12
+ org.opencontainers.image.licenses="AGPL-3.0-only"
6
13
7
14
RUN prepare-tool java gradle
8
15
@@ -12,11 +19,14 @@ RUN install-tool node 18.15.0
12
19
# renovate: datasource=npm
13
20
RUN install-tool corepack 0.17.0
14
21
15
- # renovate: datasource=dotnet lookupName=dotnet-sdk
22
+ # renovate: datasource=dotnet-version lookupName=dotnet-sdk
16
23
RUN install-tool dotnet 7.0.201
17
24
18
25
19
- USER ${USER_ID}
26
+ ARG RENOVATE_VERSION
20
27
21
- # use install mode
22
- ENV RENOVATE_BINARY_SOURCE=install
28
+ RUN install-tool renovate
29
+
30
+ LABEL org.opencontainers.image.version="${RENOVATE_VERSION}"
31
+
32
+ USER ${USER_ID}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -eo pipefail
3
3
4
- FROM=$( grep ' FROM renovate/renovate: ' Dockerfile)
5
- SEMVER_REGEX=" :(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)- "
4
+ FROM=$( grep ' RENOVATE_VERSION= ' Dockerfile)
5
+ SEMVER_REGEX=" :(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)"
6
6
7
7
8
8
if ! [[ " $FROM " =~ $SEMVER_REGEX ]]; then
You can’t perform that action at this time.
0 commit comments