devcontainers / devcontainers/features

PowerShell Feature - Support for Alpine

Open
#890 1 comment 0 reactions 0 assignees View on GitHub
backlog
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

Appreciate it if the PowerShell feature supported Alpine.

```
> [dev_containers_target_stage 6/6] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=powershell_1,target=/tmp/build-features-src/powershell_1 cp -ar /tmp/build-features-src/powershell_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/powershell_1 && cd /tmp/dev-container-features/powershell_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/powershell_1:
0.341 ===========================================================================
0.341 Feature : PowerShell
0.341 Description : Installs PowerShell along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.
0.341 Id : ghcr.io/devcontainers/features/powershell
0.341 Version : 1.3.2
0.341 Documentation : https://github.com/devcontainers/features/tree/main/src/powershell
0.341 Options :
0.341 VERSION="latest"
0.341 MODULES=""
0.341 POWERSHELLPROFILEURL_=""
0.341 ===========================================================================
0.347 ./install.sh: line 144: dpkg: command not found
0.347 ERROR: Feature "PowerShell" (ghcr.io/devcontainers/features/powershell) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/powershell for help troubleshooting this error.
------
Dockerfile.extended:33
--------------------
32 |
33 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=powershell_1,target=/tmp/build-features-src/powershell_1 \
34 | >>> cp -ar /tmp/build-features-src/powershell_1 /tmp/dev-container-features \
35 | >>> && chmod -R 0755 /tmp/dev-container-features/powershell_1 \
36 | >>> && cd /tmp/dev-container-features/powershell_1 \
37 | >>> && chmod +x ./devcontainer-features-install.sh \
38 | >>> && ./devcontainer-features-install.sh \
39 | >>> && rm -rf /tmp/dev-container-features/powershell_1
40 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/powershell_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/powershell_1 && cd /tmp/dev-container-features/powershell_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/powershell_1" did not complete successfully: exit code: 127
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.