Skip to content

Commit

Permalink
fix corepack enable PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Jun 19, 2024
1 parent bad8980 commit 1be9c45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sidecars/node-runner/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ RUN corepack install -g yarn@1.22.22 \
&& corepack install -g yarn@4 \
&& mkdir -p /home/node/.corepack/bin \
# `corepack enable` determines shim installation path based on `which corepack` directory
&& ln -s /usr/local/bin/corepack ~/.corepack/bin/ \
&& npm i -g yarn-deduplicate
&& ln -s /usr/local/bin/corepack /home/node/.corepack/bin/ \
&& npm i -g yarn-deduplicate \
&& PATH=/home/node/.corepack/bin/:${PATH} corepack enable

# distro rbenv and ruby are out of date - install rbenv from git and manage ruby
# RUBY_BUILD_VERSION=v20240501
Expand Down

0 comments on commit 1be9c45

Please sign in to comment.