Add arm64 support #2

Open
coryallegory wants to merge 2 commits from coryallegory/kube-ops-view:arm64 into main

This set of changes allows for multiplatform-supported images, specifically amd64 and arm64 as configured currently.

  • Build npm components in the multi-stage docker build so that each of the multiplatform environments are correct. This replaces the make dependency on appjs for the docker Make tasks

  • docker-multi replaces docker-arm

  • Updated travisci config to install docker 19.03+ with experimental features enabled, for buildx support

  • Used recommended installation method for poetry, since I had issues on arm with the pip method.

  • libc-dev libffi-dev make are packages that are needed for arm build support, beyond what is already working for amd64

  • NOTE that travisci will fail builds due to the logs exceeding its agent limits, due to the added docker builds for arm64 platform. I'm using github actions instead on my repo https://github.com/coryallegory/kube-ops-view to publish to docker pull quay.io/coryallegory/kube-ops-view for my own purposes on a pi cluster in the meantime. I've also added more comprehensive tagging there for semantic versioning filtering in my k8s configs.

Hopefully this helps toward addressing:
https://codeberg.org/hjacobs/kube-ops-view/issues/1
https://github.com/hjacobs/kube-ops-view/issues/262
https://github.com/hjacobs/kube-ops-view/issues/258

This set of changes allows for multiplatform-supported images, specifically `amd64` and `arm64` as configured currently. - Build npm components in the multi-stage docker build so that each of the multiplatform environments are correct. This replaces the make dependency on `appjs` for the docker Make tasks - `docker-multi` replaces `docker-arm` - Updated travisci config to install docker 19.03+ with experimental features enabled, for buildx support - Used recommended installation method for poetry, since I had issues on arm with the pip method. - `libc-dev libffi-dev make` are packages that are needed for arm build support, beyond what is already working for amd64 - NOTE that travisci will fail builds due to the logs exceeding its agent limits, due to the added docker builds for arm64 platform. I'm using github actions instead on my repo https://github.com/coryallegory/kube-ops-view to publish to `docker pull quay.io/coryallegory/kube-ops-view` for my own purposes on a pi cluster in the meantime. I've also added more comprehensive tagging there for semantic versioning filtering in my k8s configs. Hopefully this helps toward addressing: https://codeberg.org/hjacobs/kube-ops-view/issues/1 https://github.com/hjacobs/kube-ops-view/issues/262 https://github.com/hjacobs/kube-ops-view/issues/258
Owner

Thanks! I will have to try it out..

Thanks! I will have to try it out..
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.