ffead-cpp-base.dockerfile 1.1 KB

123456789101112131415161718192021222324252627282930
  1. FROM buildpack-deps:bionic
  2. LABEL maintainer="Sumeet Chhetri"
  3. LABEL version="5.1"
  4. LABEL description="Base ffead-cpp docker image with commit id - master"
  5. ENV IROOT=/installs
  6. ENV DEBUG=off
  7. RUN mkdir /installs
  8. COPY te-benchmark-um/ /installs/te-benchmark-um/
  9. COPY te-benchmark-um-pq/ /installs/te-benchmark-um-pq/
  10. COPY te-benchmark-um-pq-async/ /installs/te-benchmark-um-pq-async/
  11. COPY te-benchmark-um-mgr/ /installs/te-benchmark-um-mgr/
  12. WORKDIR ${IROOT}
  13. COPY install_ffead-cpp-dependencies.sh ${IROOT}/
  14. RUN chmod 755 ${IROOT}/install_ffead-cpp-dependencies.sh
  15. RUN ./install_ffead-cpp-dependencies.sh
  16. COPY install_ffead-cpp-backends.sh ${IROOT}/
  17. RUN chmod 755 ${IROOT}/install_ffead-cpp-backends.sh
  18. RUN ./install_ffead-cpp-backends.sh
  19. COPY install_ffead-cpp-framework.sh install_ffead-cpp-httpd.sh install_ffead-cpp-nginx.sh server.sh ${IROOT}/
  20. RUN chmod 755 ${IROOT}/*.sh
  21. RUN ./install_ffead-cpp-framework.sh && ./install_ffead-cpp-httpd.sh && ./install_ffead-cpp-nginx.sh && cd ${IROOT}/ffead-cpp-src && make clean && rm -rf CMakeFiles
  22. COPY run_ffead.sh /
  23. RUN chmod 755 /run_ffead.sh