Skip to content

Commit 59dce19

Browse files
Merge pull request #1 from anderson-pids/feature/new-docker-compose-style
New docker compose
2 parents 4024714 + 8598dfe commit 59dce19

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ endef
77

88
.PHONY: build
99
build:
10-
@cd image && U_ID=$(shell id -u) G_ID=$(shell id -g) docker-compose build
10+
@cd image && U_ID=$(shell id -u) G_ID=$(shell id -g) docker compose build
11+
1112
.PHONY: aws-auth
1213
aws-auth: ${ensure-aws-folder}
13-
@U_ID=$(shell id -u) G_ID=$(shell id -g) docker-compose -f image/docker-compose.yml run --rm aws-auth ${username} ${mfa_code}
14+
@U_ID=$(shell id -u) G_ID=$(shell id -g) docker compose -f image/docker-compose.yml run --rm aws-auth ${username} ${mfa_code}
15+

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ All environment variables:
6060
| AWS_TOKEN_DURATION | _129600_ | yes |
6161
| AWS_PROFILE | default | yes |
6262

63+
64+
## Troubleshooting
65+
66+
1. `can't create /home/app/.aws/credentials: Permission denied`
67+
68+
You must change permission for path _~/.aws/_.
69+
6370
---
6471

6572
## Contributing

0 commit comments

Comments
 (0)