Is there a recommended way for installing Chrome and Firefox on CodeBuild?
trivikr opened this issue · 1 comments
trivikr commented
The ubuntu/standard/5.0
used to install Chrome and Firefox by default.
Dockerfile:
aws-codebuild-docker-images/ubuntu/standard/5.0/Dockerfile
Lines 63 to 80 in 4e975ad
Chrome and Firefox are no longer installed in ubuntu/standard/6.0
and later.
Dockerfile: https://github.com/aws/aws-codebuild-docker-images/blob/master/ubuntu/standard/6.0/Dockerfile
These binaries were useful in running browser tests in the past, and folks who upgrade their CodeBuild versions without explicitly installing Chrome/Firefox binaries will get following errors:
08 06 2023 04:20:42.659:ERROR [launcher]: No binary for ChromeHeadless browser on your platform.
Please, set "CHROME_BIN" env variable.
08 06 2023 04:20:42.675:ERROR [launcher]: Cannot start Firefox
Can not find the binary firefox
Please set env variable FIREFOX_BIN
is there a recommended way for installing Chrome and Firefox on Codebuild?