Created
November 19, 2014 14:39
-
-
Save paddycarey/fe491ce290c9969dc8c6 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
set -e | |
cat << EOF | docker build -t psi - | |
FROM node:0.10 | |
RUN npm install -g psi | |
ENTRYPOINT ["psi"] | |
EOF | |
# wee blank line between build and run output | |
echo | |
docker run --rm --name psi psi $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment