Skip to content

Commit 8805806

Browse files
authored
fix: add corepack to e2e docker images for running e2e updater tests (#9331)
1 parent 144c5ed commit 8805806

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

test/src/updater/Dockerfile-appimage

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,6 @@ RUN ln -s /usr/bin/fuse3 /usr/bin/fuse || true
4545

4646
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
4747
RUN apt-get install -y nodejs
48-
RUN npm --silent install --global --depth 0 pnpm
48+
RUN npm --silent install --global --depth 0 pnpm corepack \
49+
&& corepack enable
50+

test/src/updater/Dockerfile-archlinux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN git clone https://aur.archlinux.org/http-parser.git \
3737
USER root
3838
WORKDIR /project
3939

40-
RUN npm --silent install --global --depth 0 pnpm
40+
RUN npm --silent install --global --depth 0 pnpm corepack \
41+
&& corepack enable
4142

4243
WORKDIR /project

test/src/updater/Dockerfile-debian

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ RUN apt-get update \
88
xdg-utils libatspi2.0-0 libsecret-1-0 libgbm1 \
99
&& rm -rf /var/lib/apt/lists/*
1010

11-
RUN npm --silent install --global --depth 0 pnpm
11+
RUN npm --silent install --global --depth 0 pnpm corepack \
12+
&& corepack enable
13+
1214

1315
WORKDIR /project

test/src/updater/Dockerfile-rpm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ RUN dnf install -y \
2020
# Optional: for better font rendering or Chromium deps
2121
RUN dnf install -y liberation-fonts fontconfig
2222

23-
RUN npm --silent install --global --depth 0 pnpm corepack
23+
RUN npm --silent install --global --depth 0 pnpm corepack \
24+
&& corepack enable
2425

2526
WORKDIR /project

0 commit comments

Comments
 (0)