There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-599496fc-1a0e-4d43-b529-c71126553856 XWIKI-23703 Open

PDF export using the headless Chrome Docker container doesn't work anymore

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-1201066a-0e83-476a-9808-cef5d1c410ab Marius Dumitru Florea on 10/Nov/25 11:35
 

Copilot / Claude gave me a list of system calls to add. It fixes the problem, and all PDF export tests are now passing again, but I'm a bit worried that the added system calls may be unsafe. I have no experience with Linux / kernel system calls, unfortunately.

 
cid:jira-generated-image-avatar-1201066a-0e83-476a-9808-cef5d1c410ab Marius Dumitru Florea on 10/Nov/25 11:39
 

For reference I have:

$ uname -a
Linux yoga 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct  7 13:34:17 UTC 2025 x86_64 GNU/Linux
$ docker version
Client: Docker Engine - Community
 Version:           28.5.2
 API version:       1.51
 Go version:        go1.25.3
 Git commit:        ecc6942
 Built:             Wed Nov  5 14:43:22 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.5.2
  API version:      1.51 (minimum version 1.24)
  Go version:       go1.25.3
  Git commit:       89c5e8f
  Built:            Wed Nov  5 14:43:22 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.29
  GitCommit:        442cb34bda9a6a0fed82a2ca7cade05c5c749582
 runc:
  Version:          1.3.3
  GitCommit:        v1.3.3-0-gd842d771
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ docker image inspect --format='{{index .RepoDigests 0}}' zenika/alpine-chrome:124
zenika/alpine-chrome@sha256:dbbe4612e677d952996ce1281ada255f58c5b6f8115f02e0dc075f2742a3de2b