Sign inSign up

tenrero/debian-chocolatey

By tenrero

•Updated almost 6 years ago

Image for building chocolatey nupkg packages in a linux container fo CI purposes

Image
0

3.0K

tenrero/debian-chocolatey repository overview

⁠debian-chocolatey

Latest Build Status⁠

Docker image for creating a container with Chocolatey running on Mono.

Very useful for creating NuPKG packages using Unix infrastructre with containers.

It also contains curl, wget and git, the most useful binaries in compilation containers, it's intended to be used in Azure Pipelines also, and git is needed for repository checkout.

⁠Usage

Test the image using docker run --rm -v $PWD:$PWD -w $PWD tenrero/debian-chocolatey

See the example directory⁠ for a basic package example.

⁠FAQ

  1. "Cannot create a package that has no dependencies nor content."

The nuspec file most likely requires this for the files section:

  <files>
    <file src="tools/**" target="tools" />
  </files>

Note the comment in the nuspec template that reads:

<!--Building from Linux? You may need this instead: <file src="tools/**" target="tools" />-->

Tag summary

Content type

Image

Digest

Size

160.6 MB

Last updated

almost 6 years ago

docker pull tenrero/debian-chocolatey