Main credits go to: https://github.com/Linuturk/mono-choco
This repository contains per application a folder for each Chocolatey nuget package, that should be build.
Inside of each folder there are files for
-
Building a Docker container image that also incorporates building the nuget package with Mono and Chocolatey under Linux. (Hint: Yes, it would have been also possible to mount a folder as a volume instead of copying the necessary files into the image but that was not the default setup in the example...)
-
Information on how to run a container based on the Docker container image and on how to push the nuget package to the Chocolatey repository.
- It is necessary to adjust the usual Chocolatey files
- And also the Dockerfile (version number)!
When I tried to build the "mono-choco" Docker container image (from https://github.com/Linuturk/mono-choco) myself, it could NOT be built anymore due to outdated Linux Debian Buster used by the Mono base container image! ### --> apt-get update and install "wget tar gzip" does NOT work!