Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install kubectl #5

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,27 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update && \
apt-get --no-install-recommends --yes install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
wget \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg -o /usr/share/keyrings/kubernetes-apt-keyring.gpg --dearmor
RUN echo 'deb [signed-by=/usr/share/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list

RUN \
apt-get update && \
apt-get --no-install-recommends --yes install \
vim emacs-nox nano \
jq \
tar gzip bzip2 zip unzip p7zip \
openssh-client \
openssl \
gnupg \
git \
curl \
wget \
iputils-arping \
iputils-clockdiff \
iputils-ping \
Expand All @@ -34,6 +45,7 @@ RUN \
ldap-utils \
postgresql-client \
nettle-bin \
kubectl \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Loading