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.
Choco
- linux/386
- linux/amd64
- linux/arm/v7
- linux/arm64
Choco with PowerShell
- linux/amd64
- linux/arm/v7
- linux/arm64
.\build <chver> <psver> <btype>
<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.
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.