Skip to content

Harden Docker image and improve WebPageTest agent diagnostics#679

Open
novoselove98 wants to merge 5 commits intocatchpoint:masterfrom
novoselove98:master
Open

Harden Docker image and improve WebPageTest agent diagnostics#679
novoselove98 wants to merge 5 commits intocatchpoint:masterfrom
novoselove98:master

Conversation

@novoselove98
Copy link

Dockerfile

  • Refactored build steps and removed duplicated dependency installation.
  • Fixed Node.js installation (Node.js 20 via NodeSource) and added Lighthouse.
  • Added tini as init process to handle signals and prevent zombie processes inside the container.
  • Added optional debug build stage with debugpy.

internal/chrome_desktop.py
Commented Chrome flag (--disable-dev-shm-usage) to enable shm.

internal/webpagetest.py

  • Added startup warning and fail-fast behavior when no server or scheduler is configured.
  • Improved error logging for network and unexpected failures.
  • Removed silent exception swallowing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant