ltio.dockerfile 466 B

1234567891011121314151617
  1. FROM buildpack-deps:focal
  2. RUN apt-get update -yqq && apt-get install -yqq software-properties-common unzip cmake
  3. RUN apt-get install -yqq build-essential libgoogle-perftools-dev git-core libssl-dev zlib1g-dev
  4. EXPOSE 5006
  5. RUN mkdir build_ltio
  6. ADD CMakeLists.txt build_ltio/
  7. ADD http_benchmark.cc build_ltio/
  8. WORKDIR /build_ltio
  9. RUN pwd; git clone -b benchmark https://github.com/echoface/ltio.git --recurse
  10. RUN ls; cmake .; make
  11. CMD ./benchmark_server $(nproc)