Made kubectl exec

This commit is contained in:
randal 2023-06-17 18:20:53 -06:00
parent d1fe7e3596
commit 0a336e366b

View File

@ -13,8 +13,7 @@ rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*; \ rm -f /lib/systemd/system/anaconda.target.wants/*; \
cd /usr/local/bin; \ cd /usr/local/bin; \
curl -LO https://dl.k8s.io/release/v1.24.13/bin/linux/amd64/kubectl; \ curl -LO https://dl.k8s.io/release/v1.24.13/bin/linux/amd64/kubectl; \
chmod 755 kubectl; \ chmod 755 kubectl
ln -s /work/.kube /root/.kube
USER root USER root
VOLUME [ "/sys/fs/cgroup" ] VOLUME [ "/sys/fs/cgroup" ]