Skip to content

miniforge.sh: line 1: Not: command not found #274

@aryarm

Description

@aryarm

Hello! Thanks for creating these devcontainer-features. I've been running into an issue when trying to use the miniforge feature. I was wondering if anyone has an idea of what might be happening?

{
	"name": "Ubuntu",
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
	"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
	"features": {
		"ghcr.io/rocker-org/devcontainer-features/miniforge:2": {}
	},
}
2026-03-11 16:38:35.479Z: #12 0.772 VERSION=26.1.1-0
2026-03-11 16:38:35.640Z: #12 0.772 Downloading Miniforge3 26.1.1-0...
#12 0.783 /tmp/miniforge /tmp/dev-container-features/miniforge_0
2026-03-11 16:38:35.760Z: #12 1.053 miniforge.sh: line 1: Not: command not found
2026-03-11 16:38:35.816Z: #12 1.054 ERROR: Feature "Conda, Mamba (Miniforge)" (ghcr.io/rocker-org/devcontainer-features/miniforge) failed to install! Look at the documentation at ********/rocker-org/devcontainer-features/tree/main/src/miniforge for help troubleshooting this error.
#12 ERROR: process "/bin/sh -c cp -ar /tmp/build-features-src/miniforge_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/miniforge_0  && cd /tmp/dev-container-features/miniforge_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/miniforge_0" did not complete successfully: exit code: 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions