octane.dockerfile 480 B

123456789101112131415161718
  1. FROM ubuntu:16.04
  2. RUN apt-get update -yqq && \
  3. apt-get install -yqq software-properties-common build-essential git cmake automake libtool wget
  4. WORKDIR /octane
  5. RUN git clone https://github.com/simongui/octane.git .
  6. RUN git checkout 8c28b1b83f1aa2817a401a3e8437a0af4ec53c28
  7. RUN rm -rf src/techempower_benchmarks
  8. COPY src src/techempower_benchmarks
  9. RUN make
  10. ENV LD_PRELOAD /octane/lib/lockless_allocator/libllalloc.so.1.3
  11. EXPOSE 8000
  12. CMD ["./build/techempower_benchmarks"]