Skip to content

Commit bd74c05

Browse files
jerbobsimskij
andauthored
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 <[email protected]> Co-authored-by: Simon Aronsson <[email protected]>
1 parent 52fe365 commit bd74c05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/private-registries.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ in a volume that may be mounted onto your watchtower container.
102102
103103
1. Create the Dockerfile (contents below):
104104
```Dockerfile
105-
FROM golang:latest
105+
FROM golang:1.16
106106

107+
ENV GO111MODULE off
107108
ENV CGO_ENABLED 0
108109
ENV REPO github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login
109110

0 commit comments

Comments
 (0)