This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new d966b473dce Upgrade Node to active LTS version 22 (#1037)
d966b473dce is described below
commit d966b473dceb1558fe49f23221e2b4fa9425a28a
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Sep 9 10:31:26 2025 +0300
Upgrade Node to active LTS version 22 (#1037)
---
.github/workflows/ci-build-site.yml | 4 ++--
.github/workflows/ci-precommit.yml | 4 ++--
Dockerfile | 8 ++++----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/ci-build-site.yml
b/.github/workflows/ci-build-site.yml
index d7890cb31f6..72d935b8679 100644
--- a/.github/workflows/ci-build-site.yml
+++ b/.github/workflows/ci-build-site.yml
@@ -46,10 +46,10 @@ jobs:
with:
python-version: '3.12'
cache: 'poetry'
- - name: Set Node.js 20
+ - name: Setup Node.js 22
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- run: corepack enable
- name: Update generated docs
working-directory: tools/pytools
diff --git a/.github/workflows/ci-precommit.yml
b/.github/workflows/ci-precommit.yml
index d101305c688..5da09873956 100644
--- a/.github/workflows/ci-precommit.yml
+++ b/.github/workflows/ci-precommit.yml
@@ -58,10 +58,10 @@ jobs:
with:
python-version: '3.12'
cache: 'poetry'
- - name: Set Node.js 20
+ - name: Setup Node.js 22
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- run: corepack enable
- name: Update generated docs
working-directory: tools/pytools
diff --git a/Dockerfile b/Dockerfile
index 88b2d6dafb8..348be76ca91 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,17 +15,17 @@
# specific language governing permissions and limitations
# under the License.
-FROM node:20-bullseye as build
+FROM node:22-bookworm as build
-WORKDIR /bulid-site
+WORKDIR /build-site
COPY . .
RUN corepack enable && yarn install && yarn build
-FROM httpd:2.4.54-alpine
+FROM httpd:2.4-alpine
-COPY --from=build /bulid-site/build /usr/local/apache2/htdocs
+COPY --from=build /build-site/build /usr/local/apache2/htdocs
COPY tools/conf/httpd.conf /usr/local/apache2/conf/httpd.conf
EXPOSE 80