Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add playwright deps to arm64 docker image #917

Merged
merged 3 commits into from
Feb 27, 2023

Conversation

nhooyr
Copy link
Contributor

@nhooyr nhooyr commented Feb 27, 2023

  • docker: Install playwright dependencies on arm64
  • docker: Build images cross platform natively

Also changed our code to only install chromium.

Closes terrastruct#835
@nhooyr nhooyr requested review from alixander and a team February 27, 2023 19:24
@alixander
Copy link
Collaborator

what is this for again?

Playwright deps don't install when running under QEMU.
@nhooyr nhooyr force-pushed the docker-arm64-playwright-e161 branch from 501f433 to 79eac42 Compare February 27, 2023 19:25
@nhooyr
Copy link
Contributor Author

nhooyr commented Feb 27, 2023

@alixander the arm64 d2 container can't compile pngs right now. playwright recently added support for arm64 so I'm just propagating that here as before we had only amd64 whitelisted.

I also changed the code to only install chromium and not also firefox/webkit.

@nhooyr
Copy link
Contributor Author

nhooyr commented Feb 27, 2023

See #835

@nhooyr
Copy link
Contributor Author

nhooyr commented Feb 27, 2023

Cool tested and things are working.

@nhooyr nhooyr merged commit f60856f into terrastruct:master Feb 27, 2023
@nhooyr nhooyr deleted the docker-arm64-playwright-e161 branch February 27, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants