-
Notifications
You must be signed in to change notification settings - Fork 3
/
Containerfile
64 lines (54 loc) · 1.8 KB
/
Containerfile
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
52
53
54
55
56
57
58
59
60
61
62
63
FROM docker.io/ubuntu
# Packages
RUN apt-get update && apt-get install --no-install-recommends -y \
curl \
vim \
ncdu \
iputils-ping \
dnsutils \
postgresql-client \
postgresql-client-common \
ca-certificates \
nmap \
openssh-client \
iperf3 \
tcpdump \
unzip \
sysstat \
iproute2 \
traceroute \
htop \
bc \
lsof \
python3 \
python3-pip \
coreutils \
netcat \
&& apt-get purge -y --auto-remove \
&& rm -rf /var/lib/apt/lists/*
# Bins from the web.
WORKDIR /tmp
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
&& chmod +x kubectl \
&& mv kubectl /usr/local/bin/kubectl
RUN curl -LO https://get.helm.sh/helm-v3.13.1-linux-amd64.tar.gz \
&& tar -zxvf helm-v3.13.1-linux-amd64.tar.gz \
&& mv linux-amd64/helm /usr/local/bin/helm
RUN curl -LO https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_amd64.tar.gz \
&& tar -zxvf k9s_Linux_amd64.tar.gz \
&& mv k9s /usr/local/bin/k9s
RUN curl -LO https://releases.hashicorp.com/terraform/1.6.1/terraform_1.6.1_linux_amd64.zip \
&& unzip terraform_1.6.1_linux_amd64.zip \
&& mv terraform /usr/local/bin/terraform
RUN curl -LO https://github.com/wercker/stern/releases/download/1.26.0/stern_linux_amd64 \
&& chmod +x stern_linux_amd64 \
&& mv stern_linux_amd64 /usr/local/bin/stern
RUN curl -LO https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 \
&& chmod +x hey_linux_amd64 \
&& mv hey_linux_amd64 /usr/local/bin/hey
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
&& unzip awscliv2.zip \
&& ./aws/install
ENV AWS_PAGER ''
RUN rm -rf /tmp/*
WORKDIR /