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" ]