Skip to content

Instantly share code, notes, and snippets.

@paddycarey
Created November 19, 2014 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paddycarey/fe491ce290c9969dc8c6 to your computer and use it in GitHub Desktop.
Save paddycarey/fe491ce290c9969dc8c6 to your computer and use it in GitHub Desktop.
#!/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