ffead-cpp-mysql.dockerfile 734 B

12345678910111213141516171819202122
  1. FROM techempower/ffead-cpp-base:0.1
  2. WORKDIR ${IROOT}/ffead-cpp-src/
  3. RUN cp -f web/te-benchmark/sql-src/TeBkWorldsql.h web/te-benchmark/include/TeBkWorld.h
  4. RUN cp -f web/te-benchmark/sql-src/TeBkWorldsql.cpp web/te-benchmark/src/TeBkWorld.cpp
  5. RUN cp -f web/te-benchmark/config/sdormmysql.xml web/te-benchmark/config/sdorm.xml
  6. RUN rm -rf ffead-cpp-2.0-bin
  7. RUN make build-apps
  8. RUN rm -rf ${IROOT}/ffead-cpp-2.0
  9. RUN cp -rf ffead-cpp-2.0-bin ${IROOT}/ffead-cpp-2.0
  10. WORKDIR ${IROOT}/ffead-cpp-2.0
  11. RUN rm -rf web/default web/oauthApp web/flexApp web/markers
  12. RUN chmod 755 *.sh resources/*.sh rtdcf/autotools/*.sh
  13. RUN chmod 755 $FFEAD_CPP_PATH/*.sh
  14. RUN rm -f $FFEAD_CPP_PATH/*.cntrl
  15. RUN rm -f $FFEAD_CPP_PATH/tmp/*.sess
  16. CMD ./server.sh