Open RohitAudit opened 3 years ago
Thanks for reporting!
A note up front: install_asm
isn't officially supported with macOS because we lack a way to automatically test all of the combinations of shell/arch/coreutils that OSX has supported over time. That being said, we do try to maintain compatibility and add fixes when there are customer reports.
I'm looking internally into our build processes to see if there has been support added yet for osx-arm64
, and I'll update when I find out.
@zerobfd Hey, did you get any success with that? I just hit the same problem.
Not yet :( There's an internal task that's open to start supporting this, I just checked it and it either hasn't been prioritized yet or somehow fell into some unreachable state. I re-raised it with the team to make sure it was still visible.
Kinda awkward that no one in the maintenance/development teams hit that problem yet. M1 chips are quite widespread already.
Anyway, thanks for the heads up.
One year later, how is this still a thing?
For anyone in this situation, let me give you the Dockerfile I use just to be able to have a functioning asmcli binary. I build this with podman using a vm emulating x64 via qemu.
FROM ubuntu
RUN apt-get update && \
apt-get full-upgrade --auto-remove --purge -y && \
apt-get install -y curl jq apt-transport-https ca-certificates gnupg git netcat && \
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && \
apt-get update && \
apt-get install google-cloud-cli kubectl && \
curl https://storage.googleapis.com/csm-artifacts/asm/asmcli_1.12 > /code/asmcli && chmod a+x /code/asmcli
WORKDIR /code
Adapt the asmcli version as you need.
Trying to check if there is an update on this.
Does not appear to be fixed. For GKE, the only workaround that I've found is to use Cloud Shell.
I was trying to install anthos service mess but am unable to run the script
install_asm
. It gives following error:Is there a different installation script for Apple with M1 silicon chip??