From 0a336e366b8af379dca2548f148b4dc570314bf7 Mon Sep 17 00:00:00 2001 From: "Randal S. Harisch" Date: Sat, 17 Jun 2023 18:20:53 -0600 Subject: [PATCH] Made kubectl exec --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d654df..66a65ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,7 @@ rm -f /lib/systemd/system/basic.target.wants/*;\ rm -f /lib/systemd/system/anaconda.target.wants/*; \ cd /usr/local/bin; \ curl -LO https://dl.k8s.io/release/v1.24.13/bin/linux/amd64/kubectl; \ -chmod 755 kubectl; \ -ln -s /work/.kube /root/.kube +chmod 755 kubectl USER root VOLUME [ "/sys/fs/cgroup" ]