# renovate: datasource=npm depName=renovate versioning=npm ARG RENOVATE_VERSION=37.180.1 # Base image #============ FROM ghcr.io/renovatebot/base-image:1.23.0-full@sha256:b45482d8881f3a0b4d772e2b7e21bac2dbc078fd9eb0c448aec7b92ea8294afd AS base LABEL name="renovate" LABEL org.opencontainers.image.source="https://github.com/renovatebot/renovate" \ org.opencontainers.image.url="https://renovatebot.com" \ org.opencontainers.image.licenses="AGPL-3.0-only" WORKDIR /usr/src/app ENV RENOVATE_X_IGNORE_NODE_WARN=true ENV RENOVATE_BINARY_SOURCE=global # exec helper COPY bin/ /usr/local/bin/ CMD ["renovate"] ARG RENOVATE_VERSION RUN install-tool renovate # Compabillity, so `config.js` can access renovate and deps RUN ln -sf /opt/containerbase/tools/renovate/${RENOVATE_VERSION}/node_modules ./node_modules; RUN set -ex; \ renovate --version; \ renovate-config-validator; \ node -e "new require('re2')('.*').exec('test')"; \ true LABEL \ org.opencontainers.image.version="${RENOVATE_VERSION}" \ org.label-schema.version="${RENOVATE_VERSION}" # Numeric user ID for the ubuntu user. Used to indicate a non-root user to OpenShift USER 1000