Created
November 2, 2018 11:06
-
-
Save a-h/c786049d214d0592c1be24e410ae5f62 to your computer and use it in GitHub Desktop.
Running AWS Scout in a Docker container
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
docker build -t scout . |
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
FROM python:3.7-alpine3.7 | |
RUN pip install awsscout2 | |
VOLUME ["/report"] | |
CMD /usr/local/bin/Scout2 --report-dir /report |
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
docker run -e AWS_ACCESS_KEY_ID=YOUR_KEY \ | |
-e AWS_SECRET_ACCESS_KEY=YOUR_SECRET \ | |
-v=$PWD:/report --rm scout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment