From bd74c0561466bc904d8c0a0a43a19603e60d275d Mon Sep 17 00:00:00 2001 From: Jeremiah Boby Date: Fri, 13 Aug 2021 15:21:43 +0100 Subject: [PATCH] Use golang:1.15 in ECR credential helper example (#965) * Use golang:1.15 in ECR credential helper example * Update docs/private-registries.md Co-authored-by: Simon Aronsson 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 e6edc39..8b3f28d 100644 --- a/docs/private-registries.md +++ b/docs/private-registries.md @@ -102,8 +102,9 @@ in a volume that may be mounted onto your watchtower container. 1. Create the Dockerfile (contents below): ```Dockerfile - FROM golang:latest + 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