[PR #2353] [MERGED] feat: upgrade alpine and support chromium path #2241

Closed
opened 2026-02-26 20:33:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2353
Author: @tedliang
Created: 1/3/2026
Status: Merged
Merged: 1/3/2026
Merged by: @Mythie

Base: mainHead: feature/upgrade-alpine


📝 Commits (1)

  • 293bd54 feat: upgrade alpine and support chromium path

📊 Changes

3 files changed (+7 additions, -3 deletions)

View changed files

📝 docker/Dockerfile (+1 -1)
📝 packages/lib/server-only/htmltopdf/get-audit-logs-pdf.ts (+3 -1)
📝 packages/lib/server-only/htmltopdf/get-certificate-pdf.ts (+3 -1)

📄 Description

Description

Upgrade alpine to 3.22
Support chromium executable path

Changes Made

Testing Performed

  • Tested on browsers Chrome.

Checklist

  • I have tested these changes locally and they work as expected.
  • I have added/updated tests that prove the effectiveness of these changes.
  • I have updated the documentation to reflect these changes, if applicable.
  • I have followed the project's coding style guidelines.
  • I have addressed the code review feedback from the previous submission, if applicable.

Additional Notes

This will make it possible to use manual-installed chromium to generate signing certificate and auditlog in pdf.
Sample Dockerfile.chromium:

ARG TAG=latest
FROM documenso/documenso:${TAG}

USER root
RUN apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont font-noto-emoji
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV CHROMIUM_USER_FLAGS='--disable-dev-shm-usage --disable-gpu --no-first-run --mute-audio'
USER nodejs

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/2353 **Author:** [@tedliang](https://github.com/tedliang) **Created:** 1/3/2026 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feature/upgrade-alpine` --- ### 📝 Commits (1) - [`293bd54`](https://github.com/documenso/documenso/commit/293bd5451865378b5de5491852913008c0015455) feat: upgrade alpine and support chromium path ### 📊 Changes **3 files changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docker/Dockerfile` (+1 -1) 📝 `packages/lib/server-only/htmltopdf/get-audit-logs-pdf.ts` (+3 -1) 📝 `packages/lib/server-only/htmltopdf/get-certificate-pdf.ts` (+3 -1) </details> ### 📄 Description ## Description Upgrade alpine to 3.22 Support chromium executable path ## Related Issue <!--- If this pull request is related to a specific issue, reference it here using #issue_number. --> <!--- For example, "Fixes #123" or "Addresses #456". --> ## Changes Made ## Testing Performed <!--- Describe the testing that you have performed to validate these changes. --> <!--- Include information about test cases, testing environments, and results. --> - Tested on browsers Chrome. ## Checklist <!--- Please check the boxes that apply to this pull request. --> <!--- You can add or remove items as needed. --> - [X] I have tested these changes locally and they work as expected. - [X] I have added/updated tests that prove the effectiveness of these changes. - [X] I have updated the documentation to reflect these changes, if applicable. - [X] I have followed the project's coding style guidelines. - [X] I have addressed the code review feedback from the previous submission, if applicable. ## Additional Notes <!--- Provide any additional context or notes for the reviewers. --> <!--- This might include details about design decisions, potential concerns, or anything else relevant. --> This will make it possible to use manual-installed chromium to generate signing certificate and auditlog in pdf. Sample Dockerfile.chromium: ``` ARG TAG=latest FROM documenso/documenso:${TAG} USER root RUN apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont font-noto-emoji ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium-browser ENV CHROMIUM_USER_FLAGS='--disable-dev-shm-usage --disable-gpu --no-first-run --mute-audio' USER nodejs ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:33:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2241
No description provided.