Skip to content

Commit 1463211

Browse files
committed
Work around the corepack key bug in the Devcontainer, where MS hasn't updated the node-22 version yet.
1 parent ef4a089 commit 1463211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV PATH=/home/node/depot_tools:${PNPM_HOME}:${FLYCTL_INSTALL}/bin:${PATH}
77
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
88
&& apt-get -y install --no-install-recommends bash-completion postgresql-client-15
99

10-
RUN su node -c "npm remove -g pnpm" && corepack enable
10+
RUN su node -c "npm remove -g pnpm" && su node -c "npm install -g corepack" && corepack enable
1111

1212
RUN su node -c "pnpm install -g playwright && playwright install-deps"
1313

0 commit comments

Comments
 (0)