1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

integcli: speed up TestBuildSixtySteps

This improves the TestBuildSixtySteps test by switching from busybox to
scratch and simply adding a file.

This lowers the execution time of that test from 20 seconds to 5
seconds.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
unclejack 2014-05-17 17:25:56 +03:00
parent 9405a58e99
commit 58c11ee0a8
2 changed files with 61 additions and 60 deletions

View file

@ -1,60 +1,60 @@
FROM busybox
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
RUN echo "foo"
FROM scratch
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /
ADD foo /

View file

@ -0,0 +1 @@
a