Loading src/pathcomp/backend/Dockerfile +9 −4 Original line number Diff line number Diff line Loading @@ -38,14 +38,18 @@ RUN mv pathComp /var/teraflow/bin # Build code coverage version RUN make clean #RUN make coverage RUN make debug RUN make coverage #RUN make debug EXPOSE 8081 # builder defines coverage version of pathcomp by default #ENTRYPOINT [ "./pathComp-cvr", "config/pathcomp.conf", "pathcomp.log" ] ENTRYPOINT [ "valgrind", "--leak-check=full", "--show-leak-kinds=all", "--track-origins=yes", "--show-error-list=yes", "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ] # coverage entrypoint: ENTRYPOINT [ "./pathComp-cvr", "config/pathcomp.conf", "pathcomp.log" ] # debug entrypoint: #ENTRYPOINT [ "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ] # debug entrypoint with memory tracking: #ENTRYPOINT [ "valgrind", "--leak-check=full", "--show-leak-kinds=all", "--track-origins=yes", "--show-error-list=yes", "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ] # Stage 2 Loading @@ -66,4 +70,5 @@ COPY --from=builder /var/teraflow/bin/pathComp . COPY --from=builder /var/teraflow/config/pathcomp.conf ./config COPY --from=builder /var/teraflow/tests/. ./tests # release entrypoint: ENTRYPOINT [ "./pathComp", "config/pathcomp.conf", "pathcomp.log" ] Loading
src/pathcomp/backend/Dockerfile +9 −4 Original line number Diff line number Diff line Loading @@ -38,14 +38,18 @@ RUN mv pathComp /var/teraflow/bin # Build code coverage version RUN make clean #RUN make coverage RUN make debug RUN make coverage #RUN make debug EXPOSE 8081 # builder defines coverage version of pathcomp by default #ENTRYPOINT [ "./pathComp-cvr", "config/pathcomp.conf", "pathcomp.log" ] ENTRYPOINT [ "valgrind", "--leak-check=full", "--show-leak-kinds=all", "--track-origins=yes", "--show-error-list=yes", "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ] # coverage entrypoint: ENTRYPOINT [ "./pathComp-cvr", "config/pathcomp.conf", "pathcomp.log" ] # debug entrypoint: #ENTRYPOINT [ "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ] # debug entrypoint with memory tracking: #ENTRYPOINT [ "valgrind", "--leak-check=full", "--show-leak-kinds=all", "--track-origins=yes", "--show-error-list=yes", "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ] # Stage 2 Loading @@ -66,4 +70,5 @@ COPY --from=builder /var/teraflow/bin/pathComp . COPY --from=builder /var/teraflow/config/pathcomp.conf ./config COPY --from=builder /var/teraflow/tests/. ./tests # release entrypoint: ENTRYPOINT [ "./pathComp", "config/pathcomp.conf", "pathcomp.log" ]