-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathDockerfile
16 lines (16 loc) · 935 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM --platform=linux/arm64 mcr.microsoft.com/vscode/devcontainers/go:dev-1.23
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