This directory contains the necessary Dockerfile and wrapper script for building a Docker Image. This is a Linux based image that builds and runs choco.exe with mono.
To build this image yourself, follow these steps:
- Clone down the repository using
git clone https://github.com/chocolatey/choco.git
. - Change directories to the root of the repository.
- Run the docker build command.
docker build -t mono-choco -f docker/Dockerfile.linux .
(the trailing . is important) - Run your new image using the command
docker run -ti --rm mono-choco /bin/bash
- Test choco by running
choco -h
. You should see the help message from choco.exe.