gaetancollaud / docker-kubectl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-kubectl

A simple docker image with kubectl installed. Can be used for deployment scripts.

No entrypoint defined ! You have to use the command kubectl. This is on purpose.

docker run --rm gaetancollaud/kubectl kubectl version

Gitlab CI example

deploy:
  stage: deploy
  image: gaetancollaud/kubectl
  script:
    - cat "$KUBE_CONFIG_CONTENT" > ~/.kube/config
    - kubectl version
  only:
    - master

About


Languages

Language:Dockerfile 100.0%