1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-02-07 19:30:19 +02:00

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 <simme@arcticbit.se>

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
This commit is contained in:
Jeremiah Boby 2021-08-13 15:21:43 +01:00 committed by GitHub
parent 52fe3656a6
commit bd74c05614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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