From 32406ac16975d99370b1bd4ec6e38a5c6d3728be Mon Sep 17 00:00:00 2001 From: a-0vi Date: Thu, 15 Aug 2024 06:42:10 +0000 Subject: [PATCH] chore: change yq installation method to use wget --- src/common-utils-extras/devcontainer-feature.json | 2 +- src/common-utils-extras/install.sh | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/common-utils-extras/devcontainer-feature.json b/src/common-utils-extras/devcontainer-feature.json index b2eae73..8278a86 100644 --- a/src/common-utils-extras/devcontainer-feature.json +++ b/src/common-utils-extras/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "Common Utilities Extras", "id": "common-utils-extras", - "version": "1.2.0", + "version": "1.2.1", "description": "More Common utilities for development containers", "installsAfter": [ "ghcr.io/devcontainers/features/common-utils" diff --git a/src/common-utils-extras/install.sh b/src/common-utils-extras/install.sh index 8e83646..70ddbd6 100644 --- a/src/common-utils-extras/install.sh +++ b/src/common-utils-extras/install.sh @@ -2,6 +2,9 @@ set -eax +ARCH=amd64 +if [ "$(uname -m)" = "aarch64" ]; then ARCH=arm64; fi + # add repo for gum mkdir -p /etc/apt/keyrings curl -fsSL https://repo.charm.sh/apt/gpg.key | gpg --dearmor -o /etc/apt/keyrings/charm.gpg @@ -34,7 +37,8 @@ EOF # install yq sudo -iu $_REMOTE_USER <