-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (26 loc) · 1.12 KB
/
Dockerfile
File metadata and controls
32 lines (26 loc) · 1.12 KB
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
FROM codercom/code-server:4.4.0
RUN sudo apt-get update \
&& sudo apt-get install -y unzip
# Install terraform
COPY --from=hashicorp/terraform:1.1.9 /bin/terraform /bin/
RUN terraform version
# Install awscli
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
&& unzip -qq awscliv2.zip \
&& sudo ./aws/install \
&& rm -rf ./awscliv2.zip ./aws
RUN aws --version
# Install kubectl
RUN sudo apt-get update \
&& sudo apt-get install -y apt-transport-https ca-certificates curl \
&& sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list \
&& sudo apt-get update \
&& sudo apt-get install -y kubectl
RUN kubectl version --client
# install helm
RUN curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | sudo bash
RUN helm version
# fluxcli install
RUN curl -s https://fluxcd.io/install.sh | sudo bash
RUN flux --version