Skip to content

Commit

Permalink
Remove AWS Powershell modules from ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonmeister committed Feb 6, 2024
1 parent 138af85 commit efbff6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions aws/linux-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
#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'

0 comments on commit efbff6e

Please sign in to comment.