Open c3n21 opened 1 year ago
@c3n21 thanks for reporting this bug
Unfortunately this bug happens due to the usage of an alpine
based image
alpine currently is not supported for multiple reasons:
/bin/bash
shebang (bash
is not installed on alpine
by default).
(That is what causing the install.sh not found
error you encountereddebian
(for example the official nodejs feature is installing packages using apt-get
, the official python feature too)Reason 1 is solvable in the scope of this repo, but Reason 2 is sadly require deeper fix, probably a replacement for these official features that serve as the basis of many other features, or update them to be more distro agnostic.
Feature id and version
ghcr.io/devcontainers-contrib/features/pnpm:2
Devcontainer base Image
alpine:3.18.2
What happened?
Given the following
.devcontainer/devcontainer.json
and running
devcontainer up --workspace-folder .
I get this error
./devcontainer-features-install.sh: line 28: ./install.sh: not found
at step 6/9.This
devcontainer@0.49.0 /usr/lib/node_modules/@devcontainers/cli
is the version of devcontainer I am using.I tried also with nx feature and get the same error.
I tried with both Docker and Podman.
Relevant log output