Skip to content

Commit

Permalink
feat(dockerimage): make node available on path (#32363)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Nov 6, 2024
1 parent a37d646 commit ccc2d45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,14 @@ ARG RENOVATE_VERSION

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

# make our node binary available as last in path
RUN ln -sf /usr/local/renovate/node /bin/node

# test
RUN set -ex; \
renovate --version; \
pushd /usr/local/renovate/; \
./node -e "new require('re2')('.*').exec('test');new require('better-sqlite3')(':memory:')"; \
node -e "new require('re2')('.*').exec('test');new require('better-sqlite3')(':memory:')"; \
true

LABEL \
Expand Down

0 comments on commit ccc2d45

Please sign in to comment.