Skip to content

[BUG] installer fails inside a devcontainer #451

@lirantal

Description

@lirantal

Describe the bug
the curl installer fails inside a devcontainer

To Reproduce
Steps to reproduce the behavior:

  1. The devcontainer.json file uses this image setup: "image": "mcr.microsoft.com/devcontainers/typescript-node:24-bookworm",
  2. Run command: curl -sSL https://aka.ms/apm-unix | sh
  3. See error:
$ curl -sSL https://aka.ms/apm-unix | sh
-e 
╔══════════════════════════════════════════════════════════════╗
║                         APM Installer                        ║
║              The NPM for AI-Native Development               ║
╚══════════════════════════════════════════════════════════════╝
-e 
-e Detected platform: linux-arm64
-e Target binary: apm-linux-arm64.tar.gz
-e ⚠ Container/Dev Container environment detected
-e Note: PyInstaller binaries may have compatibility issues in containers.
-e If installation fails, consider using: pip install --user apm-cli

-e Note: Will need sudo permissions to install to /usr/local/bin
-e Fetching latest release information...
-e Latest version: v0.8.5
-e Download URL: https://github.com/microsoft/apm/releases/download/v0.8.5/apm-linux-arm64.tar.gz
-e Downloading APM...
-e ✓ Download successful
-e Extracting binary...
-e ✓ Extraction successful
-e Testing binary...

Stops and exist here with exit code 255

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDeprecated: use type/bug. Kept for issue history; will be removed in milestone 0.10.0.needs-triageDeprecated: use status/needs-triage. Kept for issue history; will be removed in milestone 0.10.0.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions