Created
February 28, 2014 16:26
-
-
Save tianon/9274068 to your computer and use it in GitHub Desktop.
even failed builds make images, of course
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 --rm - | |
FROM busybox | |
RUN true | |
RUN true | |
RUN true | |
RUN false | |
<Ctrl+D> | |
Uploading context 2.048 kB | |
Uploading context | |
Step 0 : FROM busybox | |
---> 769b9341d937 | |
Step 1 : RUN true | |
---> Running in f7af33b73c4d | |
---> fcbd472e722b | |
Step 2 : RUN true | |
---> Running in b0417cf74d15 | |
---> adea7119af9b | |
Step 3 : RUN true | |
---> Running in f2fd3d9cfb45 | |
---> 937771dc045a | |
Step 4 : RUN false | |
---> Running in b811e52ed076 | |
2014/02/28 09:25:35 build: The command [/bin/sh -c false] returned a non-zero code: 1 | |
$ docker images | grep 937771dc045a | |
<none> <none> 937771dc045a 25 seconds ago 2.489 MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment