Skip to content

Commit

Permalink
use distro version of yarnpkg when building tsserver plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Jun 5, 2024
1 parent c94a899 commit 25d5f12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ RUN mkdir -p /out/plugins \

##### TYPESCRIPT-LANGUAGE-SERVER BUILDER #####
FROM base AS tsserver-builder

ENV NODE_OPTIONS='--no-network-family-autoselection --trace-warnings'
RUN microdnf install -y --setopt=install_weak_deps=False npm \
&& npm i -gf [email protected] \

RUN microdnf -y install --setopt=install_weak_deps=False \
nodejs npm typescript yarnpkg \
&& mkdir -p /out \
&& chown 1002:1002 /out

Expand Down

0 comments on commit 25d5f12

Please sign in to comment.