A small image with kubectl and some related tools
latest
,helm-3
helm-2
(not supported)
- Based on
docker:latest
- Includes gcloud and some components
- gsutil
- beta
- gke-gcloud-auth-plugin
- Includes kubectl
- Includes Helm
- Includes aws
- Includes amazon-ecr-credential-helper
- Includes aws-iam-authenticator
- Includes git
- Includes sentry-cli
- Includes terraform
Created wrapper script /usr/bin/local/docker-credential-ecr-login
#!/bin/bash
docker run \
--rm -i \
-v /etc/ssl/certs:/etc/ssl/certs \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
-e AWS_SESSION_TOKEN \
ekreative/toolbox \
docker-credential-ecr-login "$@"
Add to ~/.docker/config.json
{
"credHelpers": {
"${account}.dkr.ecr.${region}.amazonaws.com": "ecr-login"
}
}