jpmens / homie-ota

OTA "server" in Python for Homie
127 stars 50 forks source link

Multiarch support #58

Closed hamishfagg closed 7 years ago

hamishfagg commented 7 years ago

This should allow homie-ota to support x86 and r-pi images at the same time.

I've separated the Dockerfiles based on architecture (armhf, amd64), and added a .yaml configuration for manifest-tool.

Once images are built and uploaded to homie-ota:armhf and homie-ota.amd64, homie-ota:latest can be updated by running:

manifest-tool push from-spec homie-ota.yaml

Anyone who pulls homie-ota:latest will then get the correct image for their architecture.

jpmens commented 7 years ago

Merged, thanks.