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

Simplify Dockerfiles #254

Merged
merged 7 commits into from
Apr 2, 2024
Merged

Conversation

montehurd
Copy link
Collaborator

@montehurd montehurd commented Mar 22, 2024

Simplifies Dockerfile.a11y-regression, Dockerfile.visual-regression and Dockerfile.mediawiki

Uses smaller "FROM" base images

Preserves ability to run locally on ARM macOS machines (specifying the platform as linux/amd64 explicitly keeps Rosetta happy)

Faster Docker image builds on macOS as it no longer has to fetch and install Chromium .deb files

Tested on Intel arch Ubuntu box too

@montehurd
Copy link
Collaborator Author

montehurd commented Mar 22, 2024

Going to add one more commit to this using a base regression Dockerfile to eliminate code duplication

Edit: Done

@montehurd montehurd changed the title Simplify regression Dockerfiles Simplify Dockerfiles Mar 30, 2024
@soulgalore
Copy link
Collaborator

@montehurd this works fine on my M1 when I tested it, are you ready to go? I think we can update our test on our GitHub actions to run on ARM (I've done it here. I can make a PR and see if it will just work :)

@soulgalore soulgalore mentioned this pull request Apr 2, 2024
@montehurd
Copy link
Collaborator Author

Yes I think it's ready

@soulgalore soulgalore merged commit 2d9ea5f into wikimedia:main Apr 2, 2024
1 check passed
@montehurd montehurd deleted the simplify-dockerfiles branch May 4, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants