Skip to content

Commit

Permalink
build!: drop compatibility from docker image (#28588)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored and rarkins committed May 3, 2024
1 parent 3587b65 commit c6fc32f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,10 @@ ARG RENOVATE_VERSION

COPY --from=build --chown=root:root /usr/local/renovate/ /usr/local/renovate/

# Compabillity, so `config.js` can access renovate and deps
RUN set -ex; \
mkdir /opt/containerbase/tools/renovate; \
echo "${RENOVATE_VERSION}" > /opt/containerbase/versions/renovate; \
ln -sf /usr/local/renovate /opt/containerbase/tools/renovate/${RENOVATE_VERSION}; \
ln -sf /usr/local/renovate/node_modules ./node_modules; \
true

RUN set -ex; \
renovate --version; \
renovate-config-validator; \
node -e "new require('re2')('.*').exec('test')"; \
cd /usr/local/renovate && node -e "new require('re2')('.*').exec('test')"; \
true

LABEL \
Expand Down

0 comments on commit c6fc32f

Please sign in to comment.