-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding documentation on how to build the image yourself
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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`. | ||
1. Change directories to the root of the repository. | ||
1. Run the docker build command. `docker build -t mono-choco -f docker/Dockerfile.linux .` (the trailing . is important) | ||
1. Run your new image using the command `docker run -ti --rm mono-choco /bin/bash` | ||
1. Test choco by running `choco -h`. You should see the help message from choco.exe. |