Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 722 Bytes

powershell.md

File metadata and controls

30 lines (18 loc) · 722 Bytes

PowerShell Install Script

Installs PowerShell along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.

Script status: Stable

OS support: Debian 9+, Ubuntu 16.04+, and downstream distros.

Maintainer: The VS Code and GitHub Codespaces teams

Syntax

./powsershell-debian.sh

Usage

Usage:

  1. Add powershell-debian.sh to .devcontainer/library-scripts

  2. Add the following to your .devcontainer/Dockerfile:

    COPY library-scripts/powershell-debian.sh /tmp/library-scripts/
    RUN apt-get update && bash /tmp/library-scripts/powershell-debian.sh

That's it!