From f83f79a66e8b5949fc37d544c78006ed3a446f38 Mon Sep 17 00:00:00 2001 From: Ronny Vedrilla Date: Thu, 8 Nov 2018 15:16:33 +0100 Subject: [PATCH] Dockerfile adjusted to use rancher-cli v2.0.4 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2479364..d85a6b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ # This is simply the rancher CLI plus kubectl -FROM diemscott/rancher-cli-k8s:v2.0.2 + +# Adapted docker setup from https://hub.docker.com/r/diemscott/rancher-cli-k8s/~/dockerfile/ +FROM lachlanevenson/k8s-kubectl:v1.11.4 AS k8scli +FROM rancher/cli:v2.0.4 +COPY --from=k8scli /usr/local/bin/kubectl /usr/local/bin # We add envsubst which allows to replace environment variables, which is very handy when replacing congig # in Kubernetes yml files.