Skip to content

pascals-msft/docker-ps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

docker-ps

Dockerfile for PowerShell in a Linux container

First, get the package:

wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb

or:

curl -OL https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb

Then, get the Dockerfile file and build the Docker image. For instance with a "psdemo" tag:

docker build -t psdemo .

Test the image with a container:

docker run --rm -it psdemo

...et voilà!

Check for new builds here: https://github.com/PowerShell/PowerShell/releases

About

Dockerfile for PowerShell in a Linux container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published