-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (25 loc) · 1.31 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
FROM golang:alpine
RUN echo http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
# build/code
RUN apk add --no-cache build-base git bash bash-completion ncurses vim tmux jq
# network
RUN apk add --no-cache bind-tools iputils tcptraceroute busybox-extras tcpdump curl wget nmap tcpflow iftop net-tools \
mtr netcat-openbsd bridge-utils iperf ngrep openldap-clients \
&& go install github.com/rs/dnstrace@latest
# certificates
RUN apk add --no-cache ca-certificates openssl
# processes/io
RUN apk add --no-cache htop atop strace iotop sysstat ltrace ncdu logrotate hdparm pciutils psmisc tree pv
# kubectl
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" \
&& chmod +x ./kubectl \
&& mv ./kubectl /usr/local/bin/kubectl
# clusterctl
RUN curl -L https://github.com/kubernetes-sigs/cluster-api/releases/latest/download/clusterctl-linux-amd64 -o clusterctl \
&& chmod +x ./clusterctl \
&& mv ./clusterctl /usr/local/bin/clusterctl
# argocd
RUN curl -L https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 -o argocd \
&& chmod +x ./argocd \
&& mv ./argocd /usr/local/bin/argocd
CMD [ "bash" ]