wt-postgres.dockerfile 561 B

1234567891011121314151617181920212223242526
  1. FROM techempower/wt-base:0.1
  2. COPY ./ ./
  3. RUN g++-6 \
  4. -std=c++14 \
  5. -O3 -march=native -DNDEBUG \
  6. -I${BOOST_INC} \
  7. -L${BOOST_LIB} \
  8. -I${WT_INC} \
  9. -L${WT_LIB} \
  10. -o te-benchmark-pg.wt \
  11. -DBENCHMARK_USE_POSTGRES \
  12. benchmark.cpp \
  13. -lwthttp -lwt \
  14. -lwtdbo -lwtdbopostgres \
  15. -lboost_system \
  16. -lboost_program_options \
  17. -lboost_thread \
  18. -lboost_filesystem \
  19. -lpthread \
  20. -lpq
  21. ENV DBHOST=tfb-database
  22. CMD ./te-benchmark-pg.wt -c wt_config.xml -t $(nproc) --docroot . --approot . --http-listen 0.0.0.0:8080 --accesslog=- --no-compression