-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
51 lines (47 loc) · 1.32 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ubuntu:24.04
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 \
git \
iputils-arping \
iputils-clockdiff \
iputils-ping \
iputils-tracepath \
iproute2 \
net-tools \
dnsutils \
tcpdump \
telnet \
nmap \
ncat \
socat \
tshark \
traceroute \
tcptraceroute \
whois \
ldap-utils \
postgresql-client \
nettle-bin \
kubectl \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*