Feature id and version
ghcr.io/devcontainers-extra/features/heroku-cli:1.0.4
Dev Container base Image
ghcr.io/rails/devcontainer/images/ruby:3.4.3
What happened?
Attempting to invoke the Heroku CLI (e.g. heroku -v) causes the following error:
qemu-arm: Could not open '/lib/ld-linux-armhf.so.3': No such file or directory
Nothing in the Dec Containers log output suggests a problem.
I've tried almost every other installation method described in the Heroku CLI Docs to limited avail. The most success I've had has been with the NPM install, but this appears to be discouraged and installs an outdated/"unupdateable" version of the CLI. (That, and I have no other need for Node in my setup, so it seems like unneccesary bloat when the the heroku-cli devcontainer already exists.)
Setup
- M1 Macbook
- Container uses a non-root user
- Base image uses Debian (Bookworm)
- Docker is using
containerd
- Apple Virtualization framework (not QEMU, as the error seems to suggest) with Rosetta
- Prior to a full purge/reinstallation of Docker Desktop, I was using Docker VMM. Same issue.
Relevant log output
[7007 ms] Resolving Feature dependencies for 'ghcr.io/devcontainers-extra/features/heroku-cli:1'...
[7007 ms] * Processing feature: ghcr.io/devcontainers-extra/features/heroku-cli:1
[7190 ms] Soft-dependency 'ghcr.io/devcontainers/features/git' is not required. Removing from installation order...
[7190 ms] Soft-dependency 'ghcr.io/devcontainers/features/git' is not required. Removing from installation order...
[7190 ms] * Fetching feature: heroku-cli_0_oci
[7742 ms] Files to omit: ''
[7743 ms] * Fetched feature: heroku-cli_0_oci version 1.0.4
[7743 ms] * Fetching feature: common-utils_1_oci
[8254 ms] Files to omit: ''
Feature id and version
ghcr.io/devcontainers-extra/features/heroku-cli:1.0.4
Dev Container base Image
ghcr.io/rails/devcontainer/images/ruby:3.4.3
What happened?
Attempting to invoke the Heroku CLI (e.g.
heroku -v) causes the following error:qemu-arm: Could not open '/lib/ld-linux-armhf.so.3': No such file or directoryNothing in the Dec Containers log output suggests a problem.
I've tried almost every other installation method described in the Heroku CLI Docs to limited avail. The most success I've had has been with the NPM install, but this appears to be discouraged and installs an outdated/"unupdateable" version of the CLI. (That, and I have no other need for Node in my setup, so it seems like unneccesary bloat when the the heroku-cli devcontainer already exists.)
Setup
containerdRelevant log output