forked from codem8s/ergaleia
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
43 lines (36 loc) · 1.14 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
FROM sysdig/sysdig:0.27.1
# Disable prompts from apt.
ARG DEBIAN_FRONTEND=noninteractive
ARG KUBERNETES_VERSION
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& apt-key fingerprint 0EBFCD88 \
&& echo "deb [arch=amd64] https://download.docker.com/linux/debian jessie stable" > /etc/apt/sources.list.d/docker.list \
&& apt-get update \
&& apt --fix-broken install -y \
&& apt-get upgrade -y
RUN apt-get install -y --no-install-recommends \
apt-transport-https \
apt-utils \
vim \
curl \
dnsutils \
telnet \
tcpdump \
inetutils-traceroute \
iputils-tracepath \
docker-ce \
nmap \
net-tools \
netcat \
tcptraceroute \
wget \
socat \
ssh \
git \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl
RUN chmod +x /usr/local/bin/kubectl
ADD ksysdig /usr/local/bin/ksysdig
RUN chmod +x /usr/local/bin/ksysdig
ENTRYPOINT ["bash"]