From efbff6ede9249abc28ad80b206f25b2edb86b7d1 Mon Sep 17 00:00:00 2001 From: Mark Harrison Date: Tue, 6 Feb 2024 13:14:44 +0000 Subject: [PATCH] Remove AWS Powershell modules from ARM --- aws/linux-arm64/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aws/linux-arm64/Dockerfile b/aws/linux-arm64/Dockerfile index acea80c..efb9e09 100644 --- a/aws/linux-arm64/Dockerfile +++ b/aws/linux-arm64/Dockerfile @@ -24,6 +24,10 @@ RUN curl --silent --location "https://amazon-ecs-cli.s3.amazonaws.com/ecs-cli-li RUN curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_arm64.tar.gz" | tar xz -C /tmp && \ mv /tmp/eksctl /usr/local/bin -RUN pwsh -c 'Install-Module -Force -Name AWS.Tools.Installer -AllowClobber -Scope AllUsers' +# AWS Powershell tools +# Can't be installed on ARM currently due to this issue: https://github.com/docker/buildx/issues/1422 +# tl;dr - qemu emulation of arm64 when run on ubuntu 22.04 doesnt allow for the install. +# An error of: "5.066 Illegal instruction (core dumped)" is returned -RUN pwsh -c 'Install-Module -Force -Name AWS.Tools.Common -AllowClobber -Scope AllUsers' \ No newline at end of file +#RUN pwsh -c 'Install-Module -Force -Name AWS.Tools.Installer -AllowClobber -Scope AllUsers' +#RUN pwsh -c 'Install-Module -Force -Name AWS.Tools.Common -AllowClobber -Scope AllUsers' \ No newline at end of file