Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Building Docker Image

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:

  1. Clone down the repository using git clone https://github.com/chocolatey/choco.git.
  2. Change directories to the root of the repository.
  3. Run the docker build command. docker build -t mono-choco -f docker/Dockerfile.linux . (the trailing . is important)
  4. Run your new image using the command docker run -ti --rm mono-choco /bin/bash
  5. Test choco by running choco -h. You should see the help message from choco.exe.