@@ -26,10 +26,16 @@ services:
26
26
aws :
27
27
image : " amazon/aws-cli:${AWS_VERSION}"
28
28
volumes :
29
- - " ${HOME:-}/.aws:/root/.aws"
29
+ - " ${HOME:-home }/.aws:/root/.aws"
30
30
environment :
31
31
AWS_ACCESS_KEY_ID : " ${AWS_ACCESS_KEY_ID:-}"
32
32
AWS_SECRET_ACCESS_KEY : " ${AWS_SECRET_ACCESS_KEY:-}"
33
+ az :
34
+ image : " mcr.microsoft.com/azure-cli:${AZ_VERSION}"
35
+ entrypoint : [ "az" ]
36
+ volumes :
37
+ - " ${HOME:-home}/.ssh:/root/.ssh"
38
+ - " ${HOME:-home}/.dockerized/apps/az:/root/.azure"
33
39
bash :
34
40
image : " bash"
35
41
build :
@@ -48,7 +54,7 @@ services:
48
54
BUILD_SCRIPT_ARGS : " ${DOCTL_VERSION}"
49
55
entrypoint : [ "doctl" ]
50
56
volumes :
51
- - " ${HOME:-}/.dockerized/apps/doctl:/root"
57
+ - " ${HOME:-home }/.dockerized/apps/doctl:/root"
52
58
dotnet :
53
59
image : " mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-alpine"
54
60
entrypoint : [ "dotnet" ]
@@ -63,7 +69,7 @@ services:
63
69
BUILD_SCRIPT_ARGS : " ${GH_VERSION}"
64
70
entrypoint : [ "/init.sh", "/gh/bin/gh" ]
65
71
volumes :
66
- - " ${HOME:-}/.dockerized/apps/gh:/root"
72
+ - " ${HOME:-home }/.dockerized/apps/gh:/root"
67
73
- " ./apps/gh/init.sh:/init.sh"
68
74
environment :
69
75
BROWSER : " echo"
@@ -100,7 +106,7 @@ services:
100
106
entrypoint : [ "node" ]
101
107
volumes :
102
108
- " node_modules:/usr/local/lib/node_modules"
103
- - " ${HOME:-}/.dockerized/apps/node:/root"
109
+ - " ${HOME:-home }/.dockerized/apps/node:/root"
104
110
npm :
105
111
<< : *node
106
112
entrypoint : [ "npm" ]
@@ -129,7 +135,7 @@ services:
129
135
entrypoint : [ "python" ]
130
136
volumes :
131
137
- " python_modules:/usr/local/lib/python${PYTHON_VERSION}/site-packages"
132
- - " ${HOME:-}/.dockerized/apps/python:/root"
138
+ - " ${HOME:-home }/.dockerized/apps/python:/root"
133
139
python2 :
134
140
image : " python:${PYTHON2_VERSION}"
135
141
pip :
@@ -158,12 +164,12 @@ services:
158
164
AWS_ACCESS_KEY_ID : " ${AWS_ACCESS_KEY_ID:-}"
159
165
AWS_SECRET_ACCESS_KEY : " ${AWS_SECRET_ACCESS_KEY:-}"
160
166
volumes :
161
- - " ${HOME:-}/.dockerized/apps/s3cmd:/root"
167
+ - " ${HOME:-home }/.dockerized/apps/s3cmd:/root"
162
168
# semantic-release-cli:
163
169
# <<: *node
164
170
# entrypoint: [ "npx", "--package=semantic-release-cli@${SEMANTIC_RELEASE_VERSION}", "semantic-release-cli" ]
165
171
# volumes:
166
- # - "${HOME:-}/.dockerized/apps/gh:/root"
172
+ # - "${HOME:-home }/.dockerized/apps/gh:/root"
167
173
swagger-codegen :
168
174
image : " swaggerapi/swagger-codegen-cli-v3:${SWAGGER_CODEGEN_VERSION}"
169
175
swipl :
@@ -209,6 +215,8 @@ services:
209
215
entrypoint : [ "/usr/bin/zip" ]
210
216
211
217
volumes :
218
+ # Default for ${HOME}. Avoids creating directories on host machine when HOME isn't set.
219
+ home : {}
212
220
node_modules : { }
213
221
python_modules : { }
214
222
pip_cache : { }
0 commit comments