Skip to content

Commit 4daef83

Browse files
authored
npm pack then install llnode due to npm changes (#385)
1 parent f8050a2 commit 4daef83

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dev/dockerfiles/devel/main.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,9 @@ deb-src http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -c
285285
&& (git remote add origin https://github.com/trxcllnt/llnode.git 2>/dev/null || true) \
286286
&& git fetch origin use-llvm-project-monorepo && git checkout use-llvm-project-monorepo \
287287
&& cd / \
288-
&& npm install --global --unsafe-perm --no-audit --no-fund /usr/local/lib/llnode \
288+
&& npm pack --pack-destination /usr/local/lib/llnode /usr/local/lib/llnode \
289+
&& npm install --global --unsafe-perm --no-audit --no-fund /usr/local/lib/llnode/llnode-3.2.0.tgz \
290+
&& rm -rf /usr/local/lib/llnode \
289291
&& which -a llnode \
290292
\
291293
# Clean up

0 commit comments

Comments
 (0)