Made kubectl exec
This commit is contained in:
parent
d1fe7e3596
commit
0a336e366b
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user