jump-box: add k8s repo + install kubectl and bind-utils by default
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
@@ -6,12 +6,13 @@ ENV TARGET_USER=garrettmills
|
|||||||
ENV TARGET_UID=1000
|
ENV TARGET_UID=1000
|
||||||
ENV TARGET_GID=1000
|
ENV TARGET_GID=1000
|
||||||
|
|
||||||
|
COPY k8s.repo /etc/yum.repos.d/k8s.repo
|
||||||
COPY startup.bash /usr/sbin/startup.bash
|
COPY startup.bash /usr/sbin/startup.bash
|
||||||
|
|
||||||
RUN dnf install -y \
|
RUN dnf install -y \
|
||||||
zip unzip curl tar vim htop fish stow git openssh-clients gnupg2 make nodejs \
|
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 \
|
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
|
&& chmod +x /usr/sbin/startup.bash
|
||||||
|
|
||||||
CMD ["/usr/sbin/startup.bash"]
|
CMD ["/usr/sbin/startup.bash"]
|
||||||
|
|||||||
6
jump-box/k8s.repo
Normal file
6
jump-box/k8s.repo
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user