Last active
July 10, 2018 15:06
-
-
Save jbouse/5fd3d81a45f463d1fab9d332d9136c36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
trap - INT TERM | |
docker run --rm \ | |
-t $(tty &>/dev/null && echo "-i") \ | |
$(echo "-e AWS_PROFILE=${AWS_PROFILE:-dev}") \ | |
-v ${HOME}/.aws:/root/.aws \ | |
-v $(pwd):/project \ | |
mesosphere/aws-cli \ | |
$@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment