-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (20 loc) · 1.29 KB
/
Dockerfile
File metadata and controls
20 lines (20 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM --platform=linux/arm64 mcr.microsoft.com/vscode/devcontainers/go:dev-1.24
RUN apt-get update -y && \
# Docker
curl -fsSL https://get.docker.com | sh && \
# https://developer.hashicorp.com/terraform/downloads
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list && \
apt update -y && apt install -y terraform && \
# go-jsonnet
go install github.com/google/go-jsonnet/cmd/jsonnet@latest && \
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest && \
go install github.com/google/go-jsonnet/cmd/jsonnet-lint@latest && \
# AWS CLI
apt-get install -y awscli && \
# python
apt-get install -y python3 python3-boto3 black && \
# GCP CLI
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && \
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
apt-get update -y && apt-get install -y google-cloud-cli