github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/build-dependencies/app4/Dockerfile (about) 1 FROM busybox 2 3 # SLEEP is to simulate build time 4 ARG SLEEP=0 5 # FAIL=1 will cause the build to fail 6 ARG FAIL=0 7 COPY foo /foo 8 9 ENV SLEEP_TIMEOUT=${SLEEP} 10 ENV FAIL=${FAIL} 11 RUN echo "sleep ${SLEEP_TIMEOUT}" 12 RUN sleep ${SLEEP_TIMEOUT} 13 RUN [ "${FAIL}" == "0" ] || false 14 15 CMD while true; do cat /foo; sleep 1; done