Skip to content

Instantly share code, notes, and snippets.

@boffbowsh
Created May 10, 2013 21:23
Show Gist options
  • Select an option

  • Save boffbowsh/5557542 to your computer and use it in GitHub Desktop.

Select an option

Save boffbowsh/5557542 to your computer and use it in GitHub Desktop.
vagrant@vagrant-ubuntu-raring-64:~/docker/bin$ docker build < ./test
FROM ubuntu
RUN echo foo > bar
===> 546120c83189
FROM ubuntu
RUN echo moo > oink
===> fc5b04ef9d84
Build finished. image id: fc5b04ef9d84
fc5b04ef9d84
vagrant@vagrant-ubuntu-raring-64:~/docker/bin$ docker build < ~/griddle/nginx/test
FROM ubuntu
RUN echo foo > bar
===> 546120c83189
FROM ubuntu
Build finished. image id: 8dbd9e392a96
8dbd9e392a96
vagrant@vagrant-ubuntu-raring-64:~/docker/bin$ md5sum test
696069f5022502d9198081ba048c45fc test
vagrant@vagrant-ubuntu-raring-64:~/docker/bin$ md5sum ~/griddle/nginx/test
696069f5022502d9198081ba048c45fc /home/vagrant/griddle/nginx/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment