You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Unfortunately, the latest release of miniforge (v26.1.1-0) was published as a pre-release without any of the usual assets, so install.sh is unable to download .sh files from it.
Activity
eitsupi commentedon Mar 11, 2026
Maybe they changed the installer URL, I'll have a look when I have time.
eitsupi commentedon Mar 11, 2026
As a workaround, you can use the version option to specify a version before the URL scheme was changed, which should work.
aryarm commentedon Mar 12, 2026
thanks! your suggestion worked!
Looking through the code, it seems like it's just failing when it tries to download the URL here:
devcontainer-features/src/miniforge/install.sh
Lines 104 to 116 in 27e62e2
Unfortunately, the latest release of miniforge (v26.1.1-0) was published as a pre-release without any of the usual assets, so
install.shis unable to download.shfiles from it.I created #275 in an attempt to remedy this