mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +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:
parent
52fe3656a6
commit
bd74c05614
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue