From f523dc194b48ca52a784ea6c17acb69a000af39e Mon Sep 17 00:00:00 2001 From: Jeremiah Boby Date: Fri, 21 May 2021 02:44:55 +0100 Subject: [PATCH 1/2] Use golang:1.15 in ECR credential helper example --- docs/private-registries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/private-registries.md b/docs/private-registries.md index 354f3690f..e6862b23e 100644 --- a/docs/private-registries.md +++ b/docs/private-registries.md @@ -104,7 +104,7 @@ in a volume that may be mounted onto your watchtower container. 1. Create the Dockerfile (contents below): ```Dockerfile - FROM golang:latest + FROM golang:1.15 ENV CGO_ENABLED 0 ENV REPO github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login From 8536597950a074360f99cf8cbb9eb647bf10718e Mon Sep 17 00:00:00 2001 From: Jeremiah Boby Date: Wed, 30 Jun 2021 14:30:04 +0100 Subject: [PATCH 2/2] Update docs/private-registries.md Co-authored-by: Simon Aronsson --- docs/private-registries.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/private-registries.md b/docs/private-registries.md index e6862b23e..1a026ac0c 100644 --- a/docs/private-registries.md +++ b/docs/private-registries.md @@ -104,8 +104,9 @@ in a volume that may be mounted onto your watchtower container. 1. Create the Dockerfile (contents below): ```Dockerfile - FROM golang:1.15 + FROM golang:1.16 + ENV GO111MODULE off ENV CGO_ENABLED 0 ENV REPO github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login