I discovered (presumably) why my porter install was failing on my M1 Mac; it looks like the AZ CLI mixin Dockerfile scaffolding assumes an amd64 architecture. The bundle is successfully created, but then the az commands fail, being unable to find the amd64 Linux libraries it expects in the container.
az login --output table --output json --password ******* --service-principal --tenant ******* --username *******
/lib64/ld-linux-x86-64.so.2: No such file or directory
Error: error running command az login --output table --output json --password ******* --service-principal --tenant ******* --username *******: exit status 255
I discovered (presumably) why my
porter installwas failing on my M1 Mac; it looks like the AZ CLI mixinDockerfilescaffolding assumes anamd64architecture. The bundle is successfully created, but then theazcommands fail, being unable to find theamd64Linux libraries it expects in the container.