-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-cli
80 lines (61 loc) · 2.09 KB
/
Dockerfile-cli
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
FROM ghcr.io/taitounited/taito-cli-deps:base
# TODO: Backwards compatibility for auth sessions. Remove later.
RUN mkdir -p /builder/google-cloud-sdk/bin && \
ln -s /usr/bin/gcloud /builder/google-cloud-sdk/bin/gcloud
# Install bats for Taito CLI unit testing
RUN /taito-cli-deps/tools/install-bats.sh
# Install python3
RUN /taito-cli-deps/tools/install-python3.sh
# Install aws cli and aws-iam-authenticator for AWS
RUN /taito-cli-deps/tools/install-aws.sh
# Install Kubectl, hnc and k9s for Kubernetes
RUN /taito-cli-deps/tools/install-kubectl.sh
RUN /taito-cli-deps/tools/install-kubectl-hnc.sh
RUN /taito-cli-deps/tools/install-k9s.sh
# Install Helm for Kubernetes
RUN /taito-cli-deps/tools/install-helm.sh
# Install Terraform for cloud
RUN /taito-cli-deps/tools/install-terraform.sh
# Install database tools
RUN /taito-cli-deps/tools/install-db-clients.sh
RUN /taito-cli-deps/tools/install-sqitch.sh
# Install depcheck for checking npm dependencies
RUN npm install depcheck npm-check -g
# Install ansible
RUN /taito-cli-deps/tools/install-ansible.sh
# Install Azure CLI
RUN /taito-cli-deps/tools/install-azure-cli.sh
# Install gcloud sdk for GCP
ENV PATH "$PATH:/opt/google-cloud-sdk/bin/"
RUN /taito-cli-deps/tools/install-gcloud.sh
# Install gcsfuse for mounting GCP storage buckets
# RUN /taito-cli-deps/tools/install-gcsfuse.sh
# Install digitalocean cli
RUN /taito-cli-deps/tools/install-do.sh
# Install OpenShift cli
RUN /taito-cli-deps/tools/install-openshift-cli.sh
# Install Argo CLI
RUN /taito-cli-deps/tools/install-argo-cli.sh
# Install docker (required for executing CI/CD builds on container)
RUN /taito-cli-deps/tools/install-docker-bin.sh
# Install ci tools
RUN /taito-cli-deps/tools/install-ci-tools.sh
# Install some extra tools for local use of Taito CLI
RUN apt-get -y update && \
apt-get -y install \
easy-rsa \
perl-doc \
less \
telnet \
apache2-utils \
vim \
nano \
pwgen \
xkcdpass \
uuid-runtime \
groff \
gettext \
dnsutils && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ENV EDITOR=/bin/nano