Skip to content

Instantly share code, notes, and snippets.

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