Updates dockerfile for building tools container. Adds kind.yaml for cluster deployment
This commit is contained in:
parent
38c193c532
commit
d1fe7e3596
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.kube/**
|
@ -1,4 +1,4 @@
|
||||
FROM quay01.ipa.endofday.com/everythingkubernetes/rockylinux as build-image
|
||||
FROM quay01.ipa.endofday.com/everythingkubernetes/rockylinux:9-ubi as build-image
|
||||
|
||||
ENV container docker
|
||||
|
||||
@ -11,7 +11,10 @@ rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
|
||||
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
|
||||
rm -f /lib/systemd/system/basic.target.wants/*;\
|
||||
rm -f /lib/systemd/system/anaconda.target.wants/*; \
|
||||
curl -LO https://dl.k8s.io/release/v1.24.13/bin/linux/amd64/kubectl
|
||||
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
|
||||
|
||||
USER root
|
||||
VOLUME [ "/sys/fs/cgroup" ]
|
||||
|
Loading…
Reference in New Issue
Block a user