shorten build log
authorJacob Lifshay <programmerjake@gmail.com>
Sun, 27 Aug 2017 23:22:39 +0000 (16:22 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Sun, 27 Aug 2017 23:22:39 +0000 (16:22 -0700)
Dockerfile

index e70e028416cbdc7919b77141230a32d3981b19d8..c7af1bd460ee9dbd6bdde2946f5e61c645458462 100644 (file)
@@ -3,5 +3,5 @@ RUN apt-get update -q && apt-get dist-upgrade -qy && apt-get install -qy clang-4
 WORKDIR /build
 COPY . /build
 RUN ./docker-build-scripts/build.sh
-RUN ./build/src/demo/demo && convert output.bmp output.png && curl --upload-file ./output.png https://transfer.sh/output.png || echo running failed
+RUN ./build/src/demo/demo > demo-output.txt 2>&1 && convert output.bmp output.png && curl --upload-file ./output.png https://transfer.sh/output.png && echo && curl --upload-file ./demo-output.txt https://transfer.sh/demo-output.txt && echo || echo running failed
 CMD ["/bin/bash"]