Commit Graph

48 Commits

Author SHA1 Message Date
Peter Hedenskog 61768444cb
Use NodeJS 24 and Ubuntu 24.04 in the Docker container + related fixes (#4570) 2025-12-11 12:32:17 +01:00
Peter Hedenskog 28706230a4
Swallow the sandbox error from Firefox (#4518) 2025-05-23 09:15:46 +02:00
Peter Hedenskog ac29767ad7
Output architecture when running Docker (#4404) 2025-01-16 09:33:31 +01:00
Peter Hedenskog fd355384b0
firefox: always add acceptInsecureCerts when using WebPageReplay (#4323) 2024-11-22 11:54:34 +01:00
Peter Hedenskog 4e7f98c432
Build containers for both amd64 and arm64 (#3554) 2022-02-05 21:36:32 +01:00
soulgalore 8823358e44 new browsertime 2021-04-05 21:50:20 +02:00
soulgalore d4fd92f978 Edge and Edgedriver on Linux 2020-12-17 08:01:24 +01:00
Peter Hedenskog 9103fa7920
Exit with sitespeed.io exit status when you run with WebPageReplay #3016 (#3017) 2020-05-29 06:03:30 +02:00
Peter Hedenskog a06ae1cb43
Slim version of Docker using Firefox. (#2914)
* Slim version of Docker using Firefox.

At the moment this is not using xvfb, ffmpeg, imagemagick, python,
visual metrics etc. #2913
2020-03-11 13:01:15 +01:00
soulgalore cd80d5b7cf fix latency setting 2020-02-05 13:55:47 +01:00
Peter Hedenskog a3ba6037d4 simplify the start script 2020-01-22 18:21:23 +01:00
Mason Malone f311e12c02 Don't run node as root in Docker, fixes #1459 (#2710)
* Don't run as root in Docker

This updates the start.sh script to create a group and user with the same GID
and UID as the working directory (normally /sitespeed.io), then use that for
running `node`. This fixes the issue of report files being owned by root.

This uses "chroot" to switch the new user instead of "su" because of the
signal handling issues mentioned at https://github.com/tianon/gosu.

I tested this with the following script:

    #!/bin/bash

    set -e

    docker build -t sitespeedio/sitespeed.io:test .

    docker run --rm -v "$PWD:/sitespeed.io" sitespeedio/sitespeed.io:test -b chrome --outputFolder chrome-result -n 1 https://www.example.com
    docker run --rm -v "$PWD:/sitespeed.io" sitespeedio/sitespeed.io:test -b firefox --outputFolder firefox-result -n 1 https://www.example.com
    docker run --cap-add=NET_ADMIN --rm -v "$PWD:/sitespeed.io" -e REPLAY=true sitespeedio/sitespeed.io:test --outputFolder wpr-result -n 1 -b chrome https://www.example.com

    ls *result

* Allow "sudo ip" and "sudo route"
2019-10-21 09:07:19 +02:00
soulgalore 820a2359e9 Fix broken extra start script check 2019-03-07 11:19:30 +01:00
Peter Hedenskog cbfe2afd7f
Tune the extra start script as in https://github.com/sitespeedio/sitespeed.io/pull/2353#issuecomment-469446592 (#2363) 2019-03-06 15:58:22 +01:00
Gideon Pyzer 31024368be #2352 Add ability to run additional start script in Docker container (#2353) 2019-03-06 15:55:57 +01:00
Peter Hedenskog aa013ba745
Remove Chrome specific setup (#2322)
This has been removed in Selenium (I think) and also see
https://github.com/sitespeedio/sitespeed.io/issues/1459#issuecomment-464509929
2019-02-18 12:40:53 +01:00
soulgalore 54908dbdcc follow browsertime 2018-12-30 16:50:44 +01:00
Peter Hedenskog 2e99617aa7
Show that WebPageReplay is used (#2052) 2018-05-21 09:23:18 +02:00
soulgalore 2cac7fe29d choose wpr port 2018-05-15 16:16:43 +02:00
Peter Hedenskog 99cc1dc4c5
use latest of WPR and make sure we return right exit code (#2039) 2018-05-14 23:53:34 +02:00
Peter Hedenskog 03b4fb4a88
Use WPR binary directly (#1999) 2018-04-26 00:44:12 +02:00
Peter Hedenskog 2722d930cf
WebPageReplay cleanup for BT 3.0 (#1971) 2018-04-07 14:43:13 +02:00
soulgalore 0b8307d7f9 cleanup 2018-03-20 13:04:04 +01:00
Vitaliy Honcharenko 91af79b6ea Fixed problem with selenium-docker failing (#1924)
* - fixed some problems with selenium-docker failing in case for a lot off scenarios in one docker contained without rebutting

* Fixed some problems with selenium-docker failing in case for a lot off scenarios in one docker contained without rebutting
2018-03-20 12:56:13 +01:00
Peter Hedenskog abde89a3e2
new slimline webpagereplay (#1917) 2018-02-14 21:41:44 +01:00
Peter Hedenskog d41c624058
fix to get WebPageReplay work for mobile (#1874) 2018-01-12 15:08:14 +01:00
soulgalore 78ea3ae4d6 added missing max-old-space-size #1861 2017-12-22 21:05:37 +01:00
soulgalore f874785bd6 first go replying for android 2017-12-19 10:48:46 +01:00
Peter Hedenskog c13c33bec0 adding configurable wait time for sites with a lot of things happens after onload 2017-12-18 17:05:26 +01:00
Peter Hedenskog ae7236e356 Parameters failed in the Docker container #1858 2017-12-14 10:21:12 +01:00
soulgalore ed8b31e872 stop first 2017-12-13 10:19:25 +01:00
soulgalore d467a12837 trap and break on ctrl+c 2017-12-13 10:08:45 +01:00
soulgalore ef8d2a55bc only skip har for FF 2017-12-13 00:18:42 +01:00
soulgalore 3d47bee988 better page complete check 2017-12-12 12:34:17 +01:00
Peter Hedenskog 0c550ed106
Add Dockerfile for WebPageReplay fun (#1849) 2017-12-12 10:21:52 +01:00
soulgalore a38c65b5c2 remove beta 2017-11-20 11:00:48 +01:00
soulgalore 563b746cc9 include latest Chrome beta 2017-10-27 14:55:52 +02:00
soulgalore 1e3fea7d7b support for running Android devices in Docker 2017-05-03 04:58:27 +02:00
soulgalore 54754f7469 Chrome 57 stable 2017-03-10 15:57:06 +01:00
soulgalore f0a54ef40a use chrome 57 beta 2017-03-01 16:51:08 +01:00
soulgalore cc88f83a0b trap exit, inspired by docker selenium 2016-12-12 17:06:06 +01:00
Peter Hedenskog 1e744a5b76 Add video support (#1355) 2016-11-30 22:59:45 +01:00
soulgalore e1f6e110ef new browsertime beta! 2016-11-11 23:44:39 +01:00
soulgalore 7ac6cfc848 run as root inside the container 2016-10-26 10:44:19 +02:00
Peter Hedenskog 52d7ff3da4 Don't run as root inside Docker (#1259) 2016-10-24 08:58:03 +02:00
soulgalore 7f88e68a32 make it possible to set max old space size closes #1185 2016-09-14 21:55:00 +02:00
Peter Hedenskog 9b115b3d16 Smaller docker footprint (#1168) 2016-08-30 21:40:20 +02:00
Peter Hedenskog e5a1d75fad the docker container has a new home 2016-06-30 21:18:49 +02:00