containrrr / watchtower

A process for automating Docker container base image updates.
https://containrrr.dev/watchtower/
Apache License 2.0
19.71k stars 869 forks source link

docs: update Dockerfile to use Go modules and go install #2002

Open So4resAlex opened 4 months ago

So4resAlex commented 4 months ago

What this PR contributes

This PR updates the documentation to include an updated Dockerfile that simplifies the build process for amazon-ecr-credential-helper. The following changes have been made:

Enabled Go modules (GO111MODULE=on) Simplified installation using go install with the latest version of the repository Set a default command to run docker-credential-ecr-login Added comments for better readability and maintainability