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?
The
ubuntu/standard/5.0
used to install Chrome and Firefox by default. Dockerfile: https://github.com/aws/aws-codebuild-docker-images/blob/4e975ad93117a4eabb91971b1e59dab26ccd5687/ubuntu/standard/5.0/Dockerfile#L63-L80Chrome 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/DockerfileThese 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:
is there a recommended way for installing Chrome and Firefox on Codebuild?