github.com/slowteetoe/docker@v1.7.1-rc3/builder/parser/testfiles/lk4d4-the-edge-case-generator/Dockerfile (about) 1 FROM busybox:buildroot-2014.02 2 3 MAINTAINER docker <docker@docker.io> 4 5 ONBUILD RUN ["echo", "test"] 6 ONBUILD RUN echo test 7 ONBUILD COPY . / 8 9 10 # RUN Commands \ 11 # linebreak in comment \ 12 RUN ["ls", "-la"] 13 RUN ["echo", "'1234'"] 14 RUN echo "1234" 15 RUN echo 1234 16 RUN echo '1234' && \ 17 echo "456" && \ 18 echo 789 19 RUN sh -c 'echo root:testpass \ 20 > /tmp/passwd' 21 RUN mkdir -p /test /test2 /test3/test 22 23 # ENV \ 24 ENV SCUBA 1 DUBA 3 25 ENV SCUBA "1 DUBA 3" 26 27 # CMD \ 28 CMD ["echo", "test"] 29 CMD echo test 30 CMD echo "test" 31 CMD echo 'test' 32 CMD echo 'test' | wc - 33 34 #EXPOSE\ 35 EXPOSE 3000 36 EXPOSE 9000 5000 6000 37 38 USER docker 39 USER docker:root 40 41 VOLUME ["/test"] 42 VOLUME ["/test", "/test2"] 43 VOLUME /test3 44 45 WORKDIR /test 46 47 ADD . / 48 COPY . copy