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 <