From 3fd8e3a35a7a48a57c6eb1e5af59917209521cd3 Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Fri, 12 Jun 2020 23:06:36 -0700 Subject: [PATCH 1/2] Add explicit Windows install instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 113a3d39..ee039cb1 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,20 @@ Once you have installed the credential helper, see the [Configuration section](#Configuration) for instructions on how to configure Docker to work with the helper. +### Windows + +Installing on Windows requires installing Go. If you already have the [Chocolatey](https://chocolatey.org) package manager installed, you can use the command below to install Go (aka Golang). + +``` +choco install golang +``` + +Once Go is installed: + +``` +go get -u github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login +``` + ### From Source To build and install the Amazon ECR Docker Credential Helper, we suggest Go 1.12+, `git` and `make` installed on your system. From 2807369640430e77fc69d3688461cb37058a1552 Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Fri, 12 Jun 2020 23:09:43 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee039cb1..b6405e01 100644 --- a/README.md +++ b/README.md @@ -95,15 +95,15 @@ Docker to work with the helper. ### Windows -Installing on Windows requires installing Go. If you already have the [Chocolatey](https://chocolatey.org) package manager installed, you can use the command below to install Go (aka Golang). +Installing on Windows requires installing Go (aka "Golang"). First install the [Chocolatey](https://chocolatey.org) package manager, and then you can use the command below to install Go: -``` +```cmd choco install golang ``` -Once Go is installed: +Once Go is installed, you can install the ECR credential manager with: -``` +```cmd go get -u github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login ```