-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile.cloudshell
42 lines (28 loc) · 1.38 KB
/
Dockerfile.cloudshell
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
FROM inseefrlab/shelly
RUN apt-get update -y && apt-get install -y unzip bash-completion
# Installing mc
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /usr/local/bin/mc && \
chmod +x /usr/local/bin/mc
# Installing vault
RUN cd /usr/bin && \
wget https://releases.hashicorp.com/vault/1.3.4/vault_1.3.4_linux_amd64.zip && \
unzip vault_1.3.4_linux_amd64.zip && \
rm vault_1.3.4_linux_amd64.zip
RUN vault -autocomplete-install
# Installing 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
RUN apt-get install bash-completion
# Installing helm
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && \
chmod 700 get_helm.sh && \
./get_helm.sh
RUN kubectl completion bash >/etc/bash_completion.d/kubectl
# Installing onyxiactl
RUN wget https://github.com/InseeFrLab/onyxia-cli/releases/download/master/onyxiactl-linux -O /usr/local/bin/onyxiactl && \
chmod +x /usr/local/bin/onyxiactl
RUN curl -sLO https://github.com/argoproj/argo-workflows/releases/download/v3.1.3/argo-linux-amd64.gz && \
gunzip argo-linux-amd64.gz && \
chmod +x argo-linux-amd64 && \
mv ./argo-linux-amd64 /usr/local/bin/argo