@@ -26,10 +26,16 @@ services:
2626 aws :
2727 image : " amazon/aws-cli:${AWS_VERSION}"
2828 volumes :
29- - " ${HOME:-}/.aws:/root/.aws"
29+ - " ${HOME:-home }/.aws:/root/.aws"
3030 environment :
3131 AWS_ACCESS_KEY_ID : " ${AWS_ACCESS_KEY_ID:-}"
3232 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"
3339 bash :
3440 image : " bash"
3541 build :
@@ -48,7 +54,7 @@ services:
4854 BUILD_SCRIPT_ARGS : " ${DOCTL_VERSION}"
4955 entrypoint : [ "doctl" ]
5056 volumes :
51- - " ${HOME:-}/.dockerized/apps/doctl:/root"
57+ - " ${HOME:-home }/.dockerized/apps/doctl:/root"
5258 dotnet :
5359 image : " mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-alpine"
5460 entrypoint : [ "dotnet" ]
@@ -63,7 +69,7 @@ services:
6369 BUILD_SCRIPT_ARGS : " ${GH_VERSION}"
6470 entrypoint : [ "/init.sh", "/gh/bin/gh" ]
6571 volumes :
66- - " ${HOME:-}/.dockerized/apps/gh:/root"
72+ - " ${HOME:-home }/.dockerized/apps/gh:/root"
6773 - " ./apps/gh/init.sh:/init.sh"
6874 environment :
6975 BROWSER : " echo"
@@ -100,7 +106,7 @@ services:
100106 entrypoint : [ "node" ]
101107 volumes :
102108 - " node_modules:/usr/local/lib/node_modules"
103- - " ${HOME:-}/.dockerized/apps/node:/root"
109+ - " ${HOME:-home }/.dockerized/apps/node:/root"
104110 npm :
105111 << : *node
106112 entrypoint : [ "npm" ]
@@ -129,7 +135,7 @@ services:
129135 entrypoint : [ "python" ]
130136 volumes :
131137 - " python_modules:/usr/local/lib/python${PYTHON_VERSION}/site-packages"
132- - " ${HOME:-}/.dockerized/apps/python:/root"
138+ - " ${HOME:-home }/.dockerized/apps/python:/root"
133139 python2 :
134140 image : " python:${PYTHON2_VERSION}"
135141 pip :
@@ -158,12 +164,12 @@ services:
158164 AWS_ACCESS_KEY_ID : " ${AWS_ACCESS_KEY_ID:-}"
159165 AWS_SECRET_ACCESS_KEY : " ${AWS_SECRET_ACCESS_KEY:-}"
160166 volumes :
161- - " ${HOME:-}/.dockerized/apps/s3cmd:/root"
167+ - " ${HOME:-home }/.dockerized/apps/s3cmd:/root"
162168 # semantic-release-cli:
163169 # <<: *node
164170 # entrypoint: [ "npx", "--package=semantic-release-cli@${SEMANTIC_RELEASE_VERSION}", "semantic-release-cli" ]
165171 # volumes:
166- # - "${HOME:-}/.dockerized/apps/gh:/root"
172+ # - "${HOME:-home }/.dockerized/apps/gh:/root"
167173 swagger-codegen :
168174 image : " swaggerapi/swagger-codegen-cli-v3:${SWAGGER_CODEGEN_VERSION}"
169175 swipl :
@@ -209,6 +215,8 @@ services:
209215 entrypoint : [ "/usr/bin/zip" ]
210216
211217volumes :
218+ # Default for ${HOME}. Avoids creating directories on host machine when HOME isn't set.
219+ home : {}
212220 node_modules : { }
213221 python_modules : { }
214222 pip_cache : { }
0 commit comments