Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Conversation

@henrjk
Copy link
Member

@henrjk henrjk commented Jan 12, 2022

Support building images on an M1.

The typescript image currently uses chrome for cypress.
Until there is a use case which allows verification of using chromium stay with chrome so force platform linux/amd64 for the image.

Fixes #360

Tasks:

  • [NA] Updated design documents in docs/design directory or not applicable
  • [NA] Updated user-facing documentation in docs directory or not applicable
  • [NA] Ran tests (e.g. make test) or not applicable
  • [NA] Updated changelog or not applicable

Copy link
Member

@michaelsauter michaelsauter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

It would be nice if we wouldn't need to list all images but I guess hardcoding a platform in the build-and-push-images.sh for Node/TypeScript isn't less brittle ...

@henrjk
Copy link
Member Author

henrjk commented Jan 12, 2022

Addressed shellcheck warnings but used exception as "${platform_arg}" evaluates to two single quotes '' which does not work.

@michaelsauter michaelsauter merged commit b1131cf into master Jan 12, 2022
@michaelsauter michaelsauter deleted the fix/build-ts-image-amd64 branch January 12, 2022 09:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make build-and-push-images fails on M1

3 participants