Sign inSign up

beneventsur/choco

By beneventsur

Updated almost 7 years ago

Windows server 2016 with Chocolatey package manager.

Image
1

1.5K

beneventsur/choco repository overview

Windows server 2016 with Chocolatey package manager

Chocolatey is a software management solution unlike anything else you've ever experienced on Windows. Chocolatey brings the concepts of true package management to allow you to version things, manage dependencies and installation order, better inventory management, and other features.

You can search packages here.

Run command:

docker container run -it choco:latest

Dockerfile:

FROM mcr.microsoft.com/windows/servercore:1607

#Install Chocolatey
RUN @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

#Install git with Choco
RUN @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "choco install -a git; $env:Path += 'C:\Program Files\Git\bin'"

#Use PowerShell as default terminal
CMD %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe

Tag summary

Content type

Image

Digest

Size

5.6 GB

Last updated

almost 7 years ago

docker pull beneventsur/choco