Skip to content

Commit 453a121

Browse files
build: use build-tools' vendored yarn instead of npx (#65)
build-tools checks in .yarn/releases/yarn-*.cjs — use that directly instead of npx --yes yarn (which fetches yarn@latest from the registry on every build). Glob pattern survives build-tools yarn version bumps.
1 parent 9a98160 commit 453a121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.devcontainer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WORKDIR /home/builduser
2424
RUN rm -rf /home/builduser/.electron_build_tools && \
2525
git clone https://github.com/electron/build-tools.git /home/builduser/.electron_build_tools && \
2626
cd /home/builduser/.electron_build_tools && \
27-
npx --yes yarn && \
27+
node .yarn/releases/yarn-*.cjs && \
2828
sudo locale-gen "en_US.UTF-8"
2929

3030
# Configure VNC

0 commit comments

Comments
 (0)