parent
4c337c6952
commit
b2a56376cd
2 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
nodejs \
|
nodejs \
|
||||||
gosu \
|
gosu \
|
||||||
&& \
|
&& \
|
||||||
|
curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o ./google-chrome.deb && \
|
||||||
|
apt install -y -qq --no-install-recommends ./google-chrome.deb && \
|
||||||
|
rm ./google-chrome.deb && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,7 @@ Jasmine.configure do |config|
|
||||||
config.runner_browser = :chromeheadless
|
config.runner_browser = :chromeheadless
|
||||||
config.chrome_startup_timeout = 20
|
config.chrome_startup_timeout = 20
|
||||||
config.chrome_cli_options["autoplay-policy"] = "no-user-gesture-required"
|
config.chrome_cli_options["autoplay-policy"] = "no-user-gesture-required"
|
||||||
|
config.chrome_cli_options["disable-gpu"] = nil
|
||||||
|
config.chrome_cli_options["disable-software-rasterizer"] = nil
|
||||||
|
config.chrome_cli_options["disable-dev-shm-usage"] = nil
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue