Fix for devcontainer build (#11311)

- Install yarn a different way
This commit is contained in:
Oliver authored and GitHub committed 2026-02-13 11:09:00 +11:00
1 parent b568e82d31
commit 2a613809ec
2 files changed
+6 -5

No files matched your search

+3 -2
View File
@@ -37,9 +37,10 @@ RUN apt install -y nodejs npm
# Update to the latest stable node version
RUN npm install -g n --ignore-scripts && n lts
# Enable yarn
RUN corepack enable && corepack prepare yarn@stable --activate
# Install yarn
RUN npm install -g yarn
# Ensure node and yarn are available at the command line
RUN node --version && yarn --version
RUN yarn config set httpTimeout 600000 --home