Skip to content

Commit

Permalink
feat(toolbox) forward AWS_DEFAULT_REGION env var
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Chacon <rochacon@gmail.com>
  • Loading branch information
rochacon committed Jan 29, 2019
1 parent 9af2f9f commit bd773d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/toolbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func ensureContainer(username, image, command string) error {
"--cap-drop=SETPCAP",
"--cap-drop=SETUID",
"--cap-drop=SYS_CHROOT",
"--env=AWS_DEFAULT_REGION",
"--env=HOME=" + usr.HomeDir(),
"--env=USER=" + usr.Username,
fmt.Sprintf("--mount=type=bind,source=/etc/group,destination=/etc/group,bind-propagation=rprivate,readonly"),
Expand Down

0 comments on commit bd773d5

Please sign in to comment.