File tree Expand file tree Collapse file tree 4 files changed +32
-8
lines changed
Expand file tree Collapse file tree 4 files changed +32
-8
lines changed Original file line number Diff line number Diff 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/*
Original file line number Diff line number Diff 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/*
Original file line number Diff line number Diff 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/*
Original file line number Diff line number Diff 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/*
You can’t perform that action at this time.
0 commit comments