Unable to build chrome on aws
See original GitHub issueHi, i tried building the chrome locally and on ec2 as well, but it failed on both. On ec2 the build didn’t appeared in my s3. I am trying to build an old version of headless chrome to run on latest node10 environment. Below config:
Dockerfile ~FROM lambci/lambda~ -> FROM lambci/lambda:build-nodejs10.x ~FROM amazonlinux:2017.03~ ->FROM amazonlinux:latest
docker build \ -t "headless-chromium:64.0.3264.0" \
--build-arg VERSION="64.0.3264.0"
ec2 config:
{
"SpotPrice": "1.3362",
"InstanceCount": 1,
"Type": "one-time",
"LaunchSpecification": {
"ImageId": "ami-8c1be5f6",
"InstanceType": "c5.18xlarge",
"IamInstanceProfile": {
"Arn": "this gets updated by the ec2-build.sh script"
},
"BlockDeviceMappings": [
{
"DeviceName": "/dev/xvda",
"Ebs": {
"DeleteOnTermination": true,
"VolumeType": "gp2",
"VolumeSize": 64,
"SnapshotId": "snap-080eb3cb2eda29974"
}
}
],
"UserData": ""
}
}
The script had a little missing arg which i added. Logs:
I can provide more if needed. Please help.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Puppeteer unable to run Chrome on AWS CodeBuild
The build is triggered from standard buildspec.yml executing maven mvn -B package . The angular build/test is done from maven using the eislett/ ......
Read more >Packaging Google Chrome with Amazon WAM
To create a package for Google Chrome · Open the context (right-click) menu for HKEY_LOCAL_MACHINE\Software and choose Add Key. · In the Add...
Read more >Installing Google-chrome and Chromedriver on an Amazon ...
Installing Google-chrome and Chromedriver on an Amazon Linux machine · 1. Use this command to install the newest version of the chrome browser:...
Read more >Installing Chromedriver, Google Chrome & Selenium AWS EC2
How To Install Google Chrome, Selenium & Chromedriver For AWS EC2 Instances ... I've created a python script that you can use to...
Read more >Unable to Create Driver Instance for chrome in ubuntu
Unable to create driver instance in 1st attempt with retry timeout of 0 seconds ... (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.4.0-1052-aws ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t think you can. This module does not support Node 10x or later yet. I believe it’s still on the work In Progress
@belmer any updates?