Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.69 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.69 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
33
34
35
36
37
38
39
40
41
42
43
44
45
name: devtools
services:
# Interactive shell with the full toolbox: docker compose run --rm dev
# (or: docker compose up -d dev then docker compose exec dev zsh)
dev:
build:
context: .
dockerfile: Dockerfile
args:
BASE_IMAGE: ${BASE_IMAGE:-debian:bookworm-slim}
HTTP_PROXY: ${HTTP_PROXY:-}
HTTPS_PROXY: ${HTTPS_PROXY:-}
AZURE_CLI_VERSION: ${AZURE_CLI_VERSION:-}
TERRAFORM_VERSION: ${TERRAFORM_VERSION:-}
AZD_VERSION: ${AZD_VERSION:-}
AWSCLI_VERSION: ${AWSCLI_VERSION:-}
KUBECTL_VERSION: ${KUBECTL_VERSION:-1.31.4}
KUBELOGIN_VERSION: ${KUBELOGIN_VERSION:-0.1.4}
HELM_VERSION: ${HELM_VERSION:-3.16.3}
KUSTOMIZE_VERSION: ${KUSTOMIZE_VERSION:-5.5.0}
FLUX_VERSION: ${FLUX_VERSION:-2.4.0}
YQ_VERSION: ${YQ_VERSION:-4.44.6}
GH_VERSION: ${GH_VERSION:-2.63.2}
KUBECTX_VERSION: ${KUBECTX_VERSION:-0.9.5}
image: devtools:latest
stdin_open: true
tty: true
volumes:
# Persists ~/.azure, ~/.kube, ~/.aws, ssh keys, shell history, TF plugin cache.
# SAME volume the PowerShell wrappers use, so a login here is a login there.
- devtools-home:/root
# Your code. Set REPOS_ROOT in .env to an absolute path to mount real repos;
# defaults to the ./repos folder in this project so it works out of the box.
- ${REPOS_ROOT:-./repos}:/repos
working_dir: /repos
environment:
# Optional, for the aksc / aksup / aksx shortcuts: the resource group and name of your AKS
# cluster. Set them in your shell or in .env; when they are unset nothing is passed.
- AKS_RG
- AKS_NAME
command: ["zsh"]
volumes:
devtools-home: