You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by vt...@apache.org on 2025/08/11 07:00:10 UTC
(beam) branch fix-website updated (3f91ffe6d14 -> 008ab057e59)
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a change to branch fix-website
in repository https://gitbox.apache.org/repos/asf/beam.git
discard 3f91ffe6d14 Install yarn via APT
discard 8583c1a04bb Change corepack home
discard 77d4447e74d Use corepack for yarn installing
new 008ab057e59 Install yarn via APT
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (3f91ffe6d14)
\
N -- N -- N refs/heads/fix-website (008ab057e59)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
(beam) 01/01: Install yarn via APT
Posted by vt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch fix-website
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 008ab057e59da0d7fd4f5fb2c6fdc8638b7a0bd6
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Mon Aug 11 08:49:07 2025 +0400
Install yarn via APT
---
website/Dockerfile | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/website/Dockerfile b/website/Dockerfile
index e40724ea181..61ec7921703 100644
--- a/website/Dockerfile
+++ b/website/Dockerfile
@@ -58,13 +58,18 @@ RUN npm update -g npm
RUN npm install postcss postcss-cli autoprefixer
# Install yarn
-RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
- && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
- && apt-get update \
- && apt-get install -y --no-install-recommends yarn \
- && apt-get autoremove -yqq --purge \
- && apt-get clean \
- && rm -rf /var/lib/apt/lists/*
+RUN set -eux; \
+ apt-get update; \
+ apt-get install -y --no-install-recommends curl gnupg ca-certificates; \
+ mkdir -p /etc/apt/keyrings; \
+ curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg \
+ | gpg --dearmor -o /etc/apt/keyrings/yarn.gpg; \
+ echo "deb [signed-by=/etc/apt/keyrings/yarn.gpg] https://dl.yarnpkg.com/debian stable main" \
+ > /etc/apt/sources.list.d/yarn.list; \
+ apt-get update; \
+ apt-get install -y --no-install-recommends yarn; \
+ apt-get clean; \
+ rm -rf /var/lib/apt/lists/*
# Install hugo extended version v0.117.0
RUN HUGOHOME="$(mktemp -d)" \