FROM lganzzzo/ubuntu-cmake-mimalloc #--------------------------------------------------------------- # install oatpp WORKDIR /test RUN git clone https://github.com/oatpp/oatpp WORKDIR /test/oatpp RUN git checkout afbafe447ff447db5ab227022eb4a568da97d16b WORKDIR /test/oatpp/build RUN cmake -DOATPP_DISABLE_ENV_OBJECT_COUNTERS=ON -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release -DOATPP_BUILD_TESTS=OFF .. RUN make install #--------------------------------------------------------------- # build test app ADD src-async /test/src-async WORKDIR /test/src-async/build RUN cmake -DCMAKE_BUILD_TYPE=Release .. RUN make EXPOSE 8000 8000 CMD ./oatpp-async-test