Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.36 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.36 KB

Chocolatey on Windows Server Core container

Chocolatey logo

This container contains the Chocolatey package manager, intended to be used on images where packages from Chocolatey repo are needed. This uses the .NET Framework Runtime 4.8 base image.

Usage

This example will install Vistal Studio 2022 Build Tools FROM amitie10g/chocolatey:ltsc2022

SHELL ["powershell", "-Command"]
RUN choco install -y visualstudio2022buildtools; choco-cleaner

ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]

Licensing

  • This container image contains the Chocolatey Open Source edition, licensed under the Apache License
  • The Windows-based container image usages are subjected to the Microsoft EULA
  • The contents of this repository are released into the Public domain (the Unlicense)