From c533b54a827176cf2a336b8026bbc778de0e2e97 Mon Sep 17 00:00:00 2001 From: Nick Metz Date: Sat, 26 Sep 2020 15:21:01 +0200 Subject: [PATCH] Add packages kubectl, wget, netcat and ca-certificates --- Dockerfile | 7 +++++++ README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76c40d3..dd37140 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,17 @@ FROM ubuntu:latest RUN apt-get update && \ apt-get install -y --no-install-recommends \ + ca-certificates \ openssh-client \ inetutils-ping \ inetutils-traceroute \ dnsutils \ net-tools \ + netcat \ curl \ + wget \ postgresql-client + +# Install Kubectl +RUN wget https://storage.googleapis.com/kubernetes-release/release/v1.18.8/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl \ + && chmod +x /usr/local/bin/kubectl diff --git a/README.md b/README.md index 83667ee..8120cd8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This container will provide all required tools to debug Kubernetes cluster issue Deploy toolkit container as pod into your Kubernetes cluster and login: ``` -$ kubectl apply -f https://raw.githubusercontent.com/wasfree/toolkit-container/master/pod.yaml +$ kubectl apply -f https://raw.githubusercontent.com/wasfree/toolkit/master/pod.yaml $ kubectl exec -it toolkit /bin/bash ```