openwallet-foundation/owl-agent-test-harness

Apply workaround to fix issues using the AATH scripts on ARM based MACs

Closed this issue · 0 comments

Developers using ARM based MACs commonly run into issues using the AATH scripts. The underlying reason is that there are no ARM based base images for several of the projects and services used by AATH, such as von-network. The permanent solution would be to update the base image builds to include support for the ARM architecture. Unfortunately in some cases this is tricky as the dependencies for the images don't all support the ARM architecture.

The workaround is to tell docker to use amd64 emulation when running on an ARM based MAC. This is done by setting DOCKER_DEFAULT_PLATFORM=linux/amd64.

A script to auto-detect ARM based MACs and set DOCKER_DEFAULT_PLATFORM=linux/amd64 has been added to von-network, apply this workaround to the AATH scripts. bcgov/von-network#272