thomvaill / log4brains

✍️ Log and publish your architecture decisions (ADR)
Apache License 2.0
1.13k stars 95 forks source link

Docker build for arm64 #105

Open ms-ati opened 1 year ago

ms-ati commented 1 year ago

Feature Request

Feature Suggestion

In addition to the wonderful Docker image built for amd64, would it be possible to set it up to also automatically build and publish for arm64?

Context

Running both locally on Mac M1, and remotely in arm64 CI system, is made easier if toolchains have arm64 docker images. The alternative is to make local builds or to forgo the use of the Docker images

ms-ati commented 1 year ago

According to the documentation, is it possible for you to simply build the existing Dockerfile and push it for multiple architectures like this?

 docker buildx build --platform linux/amd64,linux/arm64 -t <username>/<image>:latest --push .