Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.48 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.48 KB

Chocolatey Package Manager

Supports building packages and pushing them to a Chocolatey Registry in a Linux Container. This image only supports the choco pack, choco new and choco push commands.

Supported Platforms

Choco

  • linux/386
  • linux/amd64
  • linux/arm/v7
  • linux/arm64

Choco with PowerShell

  • linux/amd64
  • linux/arm/v7
  • linux/arm64

Build Commands

.\build <chver> <psver> <btype>

Parameters

<chver> the Chocolatey Version Required
<psver> the PowerShell Version Optional
<btype> the Build Type. Ether empty or ignorecore. Optional

If <psver> is provided then this will build the PowerShell variant image; if ignorecore is provided then this will not build the base chocolatey image.

The PowerShell variant image requires the base chocolatey image to be built and pushed.

If you have trouble building the PowerShell image, check to see if is caused by a missing libicu package. This package ends with a number that changes between new debian versions and you will need to search the debian package repository here for the latest name of the package and update the Dockerfile.ps dockerfile.

Examples

Build Chocolatey 0.10.14-beta base image and build the Chocolatey PowerShell 6.2.2 image.

.\build 0.10.14-beta 6.2.2

Build the Chocolatey PowerShell 6.2.2 image.

.\build 0.10.14-beta 6.2.2 ignorecore

The PowerShell image needs the Base Chocolatey Image to build.