Skip to content

Commit 4b721af

Browse files
committed
fixup! Fixed CI
1 parent 21c48c2 commit 4b721af

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed

php/Dockerfile-node12

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ RUN apt-get update -y \
88
&& curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \
99
&& apt-get install -y nodejs \
1010
\
11-
&& corepack enable \
12-
&& corepack prepare yarn@stable --activate \
11+
&& curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg \
12+
| gpg --dearmor \
13+
> /usr/share/keyrings/yarnkey.gpg \
14+
&& echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" \
15+
> /etc/apt/sources.list.d/yarn.list \
16+
\
17+
&& apt-get update \
18+
&& apt-get install -y yarn \
1319
\
1420
&& rm -rf /var/lib/apt/lists/*

php/Dockerfile-node14

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ RUN apt-get update -y \
88
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
99
&& apt-get install -y nodejs \
1010
\
11-
&& corepack enable \
12-
&& corepack prepare yarn@stable --activate \
11+
&& curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg \
12+
| gpg --dearmor \
13+
> /usr/share/keyrings/yarnkey.gpg \
14+
&& echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" \
15+
> /etc/apt/sources.list.d/yarn.list \
16+
\
17+
&& apt-get update \
18+
&& apt-get install -y yarn \
1319
\
1420
&& rm -rf /var/lib/apt/lists/*

php/Dockerfile-node16

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ RUN apt-get update -y \
88
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
99
&& apt-get install -y nodejs \
1010
\
11-
&& corepack enable \
12-
&& corepack prepare yarn@stable --activate \
11+
&& curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg \
12+
| gpg --dearmor \
13+
> /usr/share/keyrings/yarnkey.gpg \
14+
&& echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" \
15+
> /etc/apt/sources.list.d/yarn.list \
16+
\
17+
&& apt-get update \
18+
&& apt-get install -y yarn \
1319
\
1420
&& rm -rf /var/lib/apt/lists/*

php/Dockerfile-node18

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ RUN apt-get update -y \
88
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
99
&& apt-get install -y nodejs \
1010
\
11-
&& corepack enable \
12-
&& corepack prepare yarn@stable --activate \
11+
&& curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg \
12+
| gpg --dearmor \
13+
> /usr/share/keyrings/yarnkey.gpg \
14+
&& echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" \
15+
> /etc/apt/sources.list.d/yarn.list \
16+
\
17+
&& apt-get update \
18+
&& apt-get install -y yarn \
1319
\
1420
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)