Created
June 26, 2018 13:50
-
-
Save ghusta/a9c9d6cf6e934ea76af4f8751ebb19df to your computer and use it in GitHub Desktop.
Build Docker CLI for Windows (docker.exe)
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
git clone https://github.com/docker/docker-ce.git | |
# List all tags (exclude the rc) | |
git tag --list 'v*-ce' | |
# Checkout desired version (tag) | |
git checkout 18.05.0-ce | |
# Build docker.exe CLI for Windows | |
cd components/cli | |
make -f docker.Makefile binary-windows | |
# find . -name docker-windows-amd64 | |
cp build/docker-windows-amd64 docker.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment