souramoo / commentoplusplus

Commento with out of the box patches and updates to add useful features and fixes. Also with one-click deploy to Heroku so you can get up and running fast.
MIT License
391 stars 63 forks source link

Add QUEMU and Docker Buildx as to allow cross-platform docker builds #76

Closed olof-nord closed 2 years ago

olof-nord commented 2 years ago

I am an owner of 32 bit ARM as well as riscv64 systems, and would love to use the docker hub image out of the box.

From what I can tell, with the dockerx command makes this as easy as it goes.

These two jobs sets up QEMU and adds support for amd64,arm,arm64,riscv64, then sets up docker build command as an alias to docker buildx.

The configuration is inspired by the GitHub Action documentation as well as the phusion baseimage-docker workflow.