diff --git a/jump-box/Dockerfile b/jump-box/Dockerfile index a28acda..5dc8acf 100644 --- a/jump-box/Dockerfile +++ b/jump-box/Dockerfile @@ -6,12 +6,13 @@ ENV TARGET_USER=garrettmills ENV TARGET_UID=1000 ENV TARGET_GID=1000 +COPY k8s.repo /etc/yum.repos.d/k8s.repo COPY startup.bash /usr/sbin/startup.bash RUN dnf install -y \ zip unzip curl tar vim htop fish stow git openssh-clients gnupg2 make nodejs \ procps-ng rsync screen sudo which autojump hostname jq the_silver_searcher wget \ - coreutils util-linux openssh-server \ + coreutils util-linux openssh-server bind-utils kubectl \ && chmod +x /usr/sbin/startup.bash CMD ["/usr/sbin/startup.bash"] diff --git a/jump-box/k8s.repo b/jump-box/k8s.repo new file mode 100644 index 0000000..a400b56 --- /dev/null +++ b/jump-box/k8s.repo @@ -0,0 +1,6 @@ +[kubernetes] +name=Kubernetes +baseurl=https://pkgs.k8s.io/core:/stable:/v1.37/rpm/ +enabled=1 +gpgcheck=1 +gpgkey=https://pkgs.k8s.io/core:/stable:/v1.37/rpm/repodata/repomd.xml.key \ No newline at end of file