Lightweight kubectl docker image on alpine with gcloud
319
Lightweight kubectl docker image on alpine with gcloud
Google Cloud SDK 410.0.0
bq 2.0.81
bundled-python3-unix 3.9.12
core 2022.11.11
gcloud-crc32c 1.0.0
gke-gcloud-auth-plugin 0.4.0
gsutil 5.16
version: 1.22.14
create docker-compose.yml:
version: "3.9"
services:
kubectl:
image: skazuki/alpine-gcloud-kubectl
volumes:
- .:/root/credentials
env_file: .env
set .env:
[email protected]
GCP_KEY_FILE=example_gcp_key.json
GCP_PROJECT=example_project_id
then in container:
gcloud auth activate-service-account ${GCP_ACCOUNT} --key-file=/root/credentials/${GCP_KEY_FILE} --project ${GCP_PROJECT}
Content type
Image
Digest
sha256:e5599d085…
Size
553.3 MB
Last updated
almost 4 years ago
docker pull skazuki/alpine-gcloud-kubectl